H
harry
Totally confused! read article saying how easy it is using the
SessionSynx.... interface - ah can't coz only allowed in stateful beans!
So failing to find anything convincing on the web I'm not sure what to do
now?
I have a stateless session bean (EJB1 - acting as a session facade) that
calls methods on another stateless session bean (EJB2). I want to
encapsulate several EJB2 method calls within a single EJB1 method. This
method does some validation which might result in an exception being thrown
so obviously I'll need to rollback somehow
Do I have to create another session bean, this time make it stateful & put
all methods that require transactions in there? or can I still achieve this
using a stateless bean?
Many thanks - appologies if not correct wording but a bit new to this!
SessionSynx.... interface - ah can't coz only allowed in stateful beans!
So failing to find anything convincing on the web I'm not sure what to do
now?
I have a stateless session bean (EJB1 - acting as a session facade) that
calls methods on another stateless session bean (EJB2). I want to
encapsulate several EJB2 method calls within a single EJB1 method. This
method does some validation which might result in an exception being thrown
so obviously I'll need to rollback somehow
Do I have to create another session bean, this time make it stateful & put
all methods that require transactions in there? or can I still achieve this
using a stateless bean?
Many thanks - appologies if not correct wording but a bit new to this!