1.

Record Nr.

UNINA9910456630703321

Autore

Salter David

Titolo

Seam 2.x web development [[electronic resource] ] : build robust web applications with Seam, Facelets, and RichFaces, using the JBoss Application Server / / David Salter

Pubbl/distr/stampa

Birmingham, U.K., : Packt Publishing Ltd., 2009

ISBN

1-282-09404-1

9786612094040

1-84719-593-8

Descrizione fisica

1 online resource (300 p.)

Collana

From technologies to solutions

Disciplina

005.13/3

Soggetti

Web servers - Management

Java (Computer program language)

Application software - Development

Client/server computing

Electronic books.

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; About the author; About the reviewers; Table of Contents; Preface; Chapter 1: Introduction to Seam; What is Seam?; Why use Seam?; Seam requirements; Installing JBoss Application Server; Starting the JBoss Application Server; Installing Seam; Testing our Seam installation; Start the JBoss Application Server; Deploy the sample application; Run the sample application; Summary; Chapter 2: Developing Seam Applications; Seam application architecture; Seam components; Object Injection and Outjection; Example application; WAR file deployment descriptors

EAR file deployment descriptors Application layout; Testing the application; Building and deploying the application; Seam data validation; Data validation; The JSF messages collection; Building and testing the validating Seam calculator; Summary; Chapter 3: Seam Page Flow; Simple navigation; Seam style navigation; Defining a page flow in pages.xml;  element;  element;  element; Error handling; Executing code before rendering pages; A working example;  and ; Rendering the



options in the sample application; Running the sample application

Seam jPDL navigationSummary; Chapter 4: Facelets; What is Facelets?; Why Facelets? Why not JSP?; Templating; Template parameters; Performance; EL functions; XHTML; No scriptlets; Obtaining and installing Facelets; Configuring a web application for Facelets; Changes in the web.xml file; Changes in the faces-config.xml file; Example Facelets files from the previous chapter; SeamGen; Creating the Vacation Planner application using SeamGen; Seam debug page; Summary; Chapter 5: Testing Seam Applications; Overview of Seam application testing; TestNG; Component testing; Testing the user interface

Seam component testing Mocking Seam components; Summary; Chapter 6: RichFaces; Obtaining RichFaces; Configuring an application for RichFaces; Add JAR files to the web application; Configuring the application's XML resources; RichFaces controls; ; JavaScript methods; ; JavaScript methods; ; JavaScript methods; ; JavaScript methods; ; JavaScript methods; ; JavaScript methods; ; JavaScript methods; Summary; Chapter 7: Database Persistence; Overview of database persistence

How SeamGen helps with persistence Persisting Java entities to the database; Retrieving Java entities from the database; Integrating Java entities with Facelets; Relationships between entities; One-to-one relationships; One-to-many and many-to-one relationships; Many-to-many relationships; Performing CRUD operations on entities; The Seam application framework; Home objects; Accessing home objects from Facelets; XML definition of home objects; Query objects; Accessing query objects from Facelets; XML definition of query objects; Summary; Chapter 8: Seam Conversations; Component scope

Local variables

Sommario/riassunto

Build robust web applications with Seam, Facelets, and RichFaces using the JBoss application server