[jboss-user] [JBoss Seam] - Re: javax.ejb.EJBNoSuchObjectException

2007-05-14 Thread sradford
So would one say that the declarative transaction handling is a good reason to use a SessionBean over a POJO during an event scoped process? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045380#4045380 Reply to the post :

[jboss-user] [JBoss Seam] - Re: javax.ejb.EJBNoSuchObjectException

2007-05-11 Thread stu2
Btw, what's the point of having an event scoped SFSB? SFSB's strength is statefulness across requests, which is why they default to conversational scope. Just curious. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044979#4044979 Reply to the post :

[jboss-user] [JBoss Seam] - Re: javax.ejb.EJBNoSuchObjectException

2007-05-11 Thread sradford
So that during the processing of the event (request) the SessionBean maintains its state across method calls made to it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044993#4044993 Reply to the post :

[jboss-user] [JBoss Seam] - Re: javax.ejb.EJBNoSuchObjectException

2007-05-11 Thread stu2
You'd get the same behavior by just using a pojo. They're event-scoped by default for that reason. Using a SFSB that way certainly works, but if you look at the interceptor stack, there's definitly more overhead when using a SFSB as a pojo. View the original post :

[jboss-user] [JBoss Seam] - Re: javax.ejb.EJBNoSuchObjectException

2007-05-11 Thread sradford
True, but... However, they [POJOs] do not provide the functionality of a session bean (declarative transaction demarcation, declarative security, efficient clustered state replication, EJB 3.0 persistence, timeout methods, etc). (taken from 3.2.4 of the Seam doc) View the original post :

[jboss-user] [JBoss Seam] - Re: javax.ejb.EJBNoSuchObjectException

2007-05-11 Thread stu2
sradford wrote : True, but... | | However, they [POJOs] do not provide the functionality of a session bean (declarative transaction demarcation, declarative security, efficient clustered state replication, EJB 3.0 persistence, timeout methods, etc). | | (taken from 3.2.4 of the Seam