SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Thanks,
Santosh
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Ah, yes, you can call getUserTransaction() from ejbCreate and ejbRemove of a stateless BMT bean, BUT... you can't DO anything with it!
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Thanks,
Santosh
Originally posted by Roger Chung-Wee:
If you look at CMT and BMT stateless session beans with respect to what can be done in the ejbCreate() and ejbRemove() methods, the only difference is that the SessionContext's getUserTransaction() can be called for BMT. What is the reason for this? I suspect it is to enable methods such as the UserTransaction's begin() to be invoked in order to start a transaction.
What? What, what, what? What what tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|