The Seam framework, meanwhile known as JBoss Seam, originally (up to version 2) developed by JBoss Web framework for Java EE, which facilitates the interaction between the business logic and the presentation. The business logic runs as a rule in an EJB 3.0 container, while the presentation layer using Java Server Faces (JSF ) is realized. However, it is also possible to use POJOs instead of EJB.
Through the use of annotations and the registration of all components in the Seam context, it is possible, on the one hand to dispense with the extensive XML configuration files and on the other hand, to reference the EJB components directly in the presentation. Motivated by this approach is the principle of having to repeat the programming and configuration as little as possible (see Do not repeat yourself ). JBoss Seam 2 allowed by the reduction of the configuration files rapid development of web applications using scalable and standardized Java EE architecture.
With the inclusion of Contexts and Dependency Injection (CDI, JSR 299 ) in Java Enterprise standard, Seam has 3 limited to the provision of integration, interaction and tool modules based on CDI, while the original Seam core as Weld to the reference implementation has become of CDI.
Literature to Seam 2
- Michael J. Yuan, Thomas Today: JBoss Seam: Simplicity and Power Beyond Java EE. Prentice Hall JBoss 2007, ISBN 0131347969
- Bernd Müller: JBoss Seam - The Web Beans implementation. Hanser 2008, ISBN 978-3-446-41190-6.
- Dan Allen: Seam In Action. Manning 2008, ISBN 978-1-933-98840-5