[jboss-user] [JBoss Seam] - What are the benefits of using Session Beans instead of POJO

RedHatDude do-not-reply at jboss.com
Sun Nov 25 10:17:17 EST 2007


I've done a lot of reading about Seam, and I was wondering what the benefits are to using Session beans as my action beans.

>From what I've read, even if I were to use Session beans, I wouldn't use many of their features anyway as Seam implements its own that work better within the context of the Seam framework:

@EJB vs @In
@PersistenceContext vs @In
Seam managed transactions vs CMTs

>From reading the user guide it sounds like using the EJB equivalent of those features has limitations, and it would be better to use the Seam stuff.

I remember reading about Seam a year ago, and all the talk was about Session beans, and so many of the examples use Session beans, but those beans could easily be replaced by POJOs without losing any functionality.

Are there any benefits to using Session beans instead of POJOs?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107591#4107591

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107591



More information about the jboss-user mailing list