[jboss-user] [EJB 3.0] - EJB 3.0 - Statlful Session Beans vs JSF Session

stephan.opitz do-not-reply at jboss.com
Mon Sep 11 03:24:51 EDT 2006


hello,

i developed a application using javaserver faces (jsf) and ejb 3.0.

primary i used stateless session beans for access to the entity beans.

as session i declared a managed bean in jsf with an application scope "session" and saved my data in it.

i thought it is the fastest and easiest way, but in comparing to stateful session beans it is not the only possible solution.

originally i was the pronounced opinion within the framework, the handling and access is most easy in this way. for example in the view it is very easy to access the declared session and access attributes to decide, wheather some view components would be rendered.

easy is not the best argument in this context - thats my problem!

so let us discuss, why ist the one or other method is better
maybe comparable experiences?

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

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



More information about the jboss-user mailing list