[jboss-user] [JBoss Seam] - When to use SessionBeans and when Pojos?
hexxter
do-not-reply at jboss.com
Wed Aug 22 16:10:16 EDT 2007
Hi,
I'm trying to get into seam and by now I thing I'm starting to understand the JSF side code. Buts whats totally unclear to me:
For actions and supporting code I have to use some sort of whats called in JSF BackingBeans. No I do understand that I have to (do I?) use @Stateful SB for beans which store data and @Stateless for beans which don't. What I don't understand is:
When can I use Pojos? Only if I need @PersistenceContext injected? And whats going on at the server? Where is my code executed? Does it make any difference when running in a distributed environment?
Thanks,
Florian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077043#4077043
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077043
More information about the jboss-user
mailing list