[jboss-user] [JBoss Seam] - Re: SFSB vs. JavaBean
mars1412
do-not-reply at jboss.com
Mon Jan 21 06:51:28 EST 2008
thanks, pete
I'll try to sum up and clarify:
* this is a stateless EJB3 Seam component - it is stateless
| @Name("slsb")
| | @Stateless
| | class Slsb {}
| |
| * this is a POJO Seam component - it is stateful
| @Name("pojo")
| | class Pojo {}
| |
| * this is a stateful EJB3 Seam component - it is stateful
| @Name("sfsb")
| | @Stateful
| | class Sfsb {}
| |
|
in my last posts, I did not differentiate between pojo and sfsb (since both are stateful)
the default scopes are explained in the seam reference @Scope annotation: http://docs.jboss.com/seam/latest/reference/en/html/annotations.html#d0e14787
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121791#4121791
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121791
More information about the jboss-user
mailing list