By bloid
via javaworld.com
Published: Apr 29 2008 / 17:46
In the first article in this series ("Spring into Seam, Part 1: Build a Seam-Spring hybrid component"), you saw some of the details of how two popular Java development frameworks -- Spring and JBoss Seam -- can work together. You learned how to build a Spring-Seam hybrid component that serves as a citizen of both frameworks. In this article, you'll see how these components can bring the strengths of one framework to the other. Specifically, you'll see how Seam can add stateful behavior to Spring beans -- something that is still a challenge to accomplish with Spring alone.
SaveShareSend
Tags: frameworks, java
Comments
wwheeler replied ago:
Not sure about the claim that it's a challenge to add stateful behavior to Spring beans. You can use bean scope to get stateful behavior. For example I can define HTTP session-scoped beans in Spring just fine.
Voters For This Link (10)
Voters Against This Link (0)