I know that EJBContext will give the object. I want to know the other way.
Raghu Nadh<br />SCJP 1.2,SCBCD
posted 12 years ago
Probably the answer is in the spec
7.6.1 Bean-managed transaction demarcation
The Container must make the javax.transaction.UserTransaction interface available to the enterprise bean�s business method or onMessage method via the javax.ejb.EJBContext interface and under the environment entry java:comp/UserTransaction.
Also if yon can't/don't like to use Context JNDI should help you
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads