I know that EJBContext will give the object. I want to know the other way.

Raghu Nadh<br />SCJP 1.2,SCBCD

Wladimir Babitzki

Greenhorn

Posts: 19

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.