This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Seam and the JSF Lifecycle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Seam and the JSF Lifecycle" Watch "Seam and the JSF Lifecycle" New topic
Author

Seam and the JSF Lifecycle

rob tirserio
Greenhorn

Joined: May 13, 2008
Posts: 6
I've read that Seam uses (and improves upon) the JSF lifecycle. How does it do this and what are some of the most significant improvements that Seam makes to the JSF lifecycle?
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Originally posted by rob tirserio:
I've read that Seam uses (and improves upon) the JSF lifecycle. How does it do this and what are some of the most significant improvements that Seam makes to the JSF lifecycle?


You'll be happy to know that the entire chapter 3 covers this very question. All 50 pages.

The two most important features that Seam adds to JSF are a front-controller and global transactions.

The first let's you execute actions when a page is requested just like Struts. It then has a really fancy declarative navigation facility to let you redirect the user afterwards, and after any JSF action (say goodbye to faces-config.xml).

The second is critical in that no other framework wraps a web request in a transaction. You can feel totally safe in Seam to execute database operations in the view and not have to worry about isolation concerns.

Finally, I will mention that Seam adds an exception handling facility to JSF, which is probably the worst omission in JSF in terms of "how the hell did they miss this one?"


Dan Allen | http://mojavelinux.com | Author of Seam in Action - http://mojavelinux.com/seaminaction
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Seam and the JSF Lifecycle
 
Similar Threads
Seam Forum
Seam after a couple of years
Using JQuery JSF components together
selectOneMenu value not being set on postback
Resolving EL