-
1. Re: Transactions and Stateless Session EJB's
adrian.brock May 23, 2003 8:14 AM (in response to jbrosenberg)I think it is referring to the session facade pattern.
You should be able to find references to this
on the internet.
Regards,
Adrian -
2. Re: Transactions and Stateless Session EJB's
jbrosenberg May 23, 2003 12:12 PM (in response to jbrosenberg)Regardless of whether it's referring to a design principle based on a "pattern", my question really is trying to understand the implementation behavior....
In the getting started doc it doesn't refer anywhere to the "facade pattern"....
So, I'd like to know how in jBoss stateless session method calls automatically behave with transactions...
Is it really true that it will always start a new transaction on method entry and end the transaction on method exit....
That's all I'm trying to understand here....
Jason -
3. Re: Transactions and Stateless Session EJB's
haraldgliebe May 23, 2003 6:20 PM (in response to jbrosenberg)Hi Jason,
this is nothing JBoss specific. You specify the transaction behaviour in the deployment descriptor (ejb-jar.xml). The valid options are defined in the EJB specification (17.6.2).
The behaviour you're describing is obtained by the transaction attribute RequiresNew.
Regards,
Harald -
4. Re: Transactions and Stateless Session EJB's
jbrosenberg May 24, 2003 3:41 AM (in response to jbrosenberg)Yes, of course this is my understanding of ejb in general....Just got thrown for a loop when I read the Getting Started Doc (which was a waste of time)....
It seems to say that with Stateless Session Beans it will require a transaction to be started on method entry and terminated on exit....