[jboss-user] [JBoss Seam] - Design Decision - statefull vs Seam context variable

lpmon do-not-reply at jboss.com
Fri Sep 21 16:44:30 EDT 2007


It Seams to me there are two obvious ways to do a very common task.  

For a Seam + EJB 3.0 based application.

Scenario: Need to maintain state between requests.

Solution 1: use statefull session beans and store into instance variables

Solution 2: use stateless session beans and use @In and @Out to store into Seam managed context variables

Which way is best?

What is more expensive?  bijection or stateful bean management

It is well understood that SFSBs require more resources than SLSBs but now were are comparing SFSBs to bijection

Comments?



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

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



More information about the jboss-user mailing list