Spring into Seam
April 18, 2008
JBoss Seam is an intriguing framework that unifies JSF, EJB 3, JPA, and JAAS under an accessible component-based model. But adopting Seam doesn't mean that you have to lose the advantages of other frameworks, such as Spring. In this series, excerpted from Seam in Action (forthcoming from Manning Publications), author Dan Allen shows you how to leverage the Spring container from Seam and vice-versa.
In Part 1, you'll be introduced to the Spring-Seam hybrid component, which is a managed object that benefits from functionality provided by both the Seam and Spring containers. In Part 2, you'll learn how to infuse state into traditionally stateless Spring beans by allowing them to reside in Seam contexts, and how to inject stateful Seam components into Spring beans. Finally, in Part 3, you'll learn how to integrate Seam and Spring at the most basic level by having them share a persistence manager.