Autore |
Salter David
|
Pubbl/distr/stampa |
Birmingham, U.K., : Packt Publishing Ltd., 2009
|
Descrizione fisica |
1 online resource (300 p.)
|
Disciplina |
005.13/3
|
Collana |
From technologies to solutions
|
Soggetto topico |
Web servers - Management
Java (Computer program language)
Application software - Development
Client/server computing
|
Soggetto genere / forma |
Electronic books.
|
ISBN |
1-282-09404-1
9786612094040
1-84719-593-8
|
Formato |
Materiale a stampa ![](img/format/mas.png) |
Livello bibliografico |
Monografia |
Lingua di pubblicazione |
eng
|
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
|
Record Nr. | UNINA-9910456630703321 |