Chapter 6. Using Seam

Chapter 6. Using Seam

6.1. Data Model
6.2. JSF Web Pages - index.xhtml and create.xhtml
6.3. Data Access using a Session Bean
6.4. JSF Web Pages - todos.xhtml and edit.xhtml
6.5. Building The Application
6.6. Xml Files
6.7. Further Information

JBoss Seam is a framework that provides the glue between the new EJB3 and JSF frameworks that are part of the Java EE 5.0 standard. In fact, the name Seam refers to the seamless manner in which it enables developers to use these two frameworks in an integrated manner. Seam automates many of the common tasks, and makes extensive use of annotations to reduce the amount of xml code that needs to be written. The overall effect is to significantly reduce the total amount of coding that needs to be done.

We have included two versions of the example application, one coded using EJB3 / JSF without using Seam, and one using Seam, to demonstrate clearly the difference in application development using the Seam framework.

Note

Refer to the "Seam Reference Guide" included in the documentation set (JBOSS_DIST/doc/seam/Seam_Reference_Guide.pdf) for important information regarding the deployment of Seam examples and detailed information on developing applications using Seam.