Hi All,
I'm going to appear for SCBCD exam in 2 weeks.
I came across one doubt while reading Head First EJB. In the book it is written like that
We can't get reference to current transaction (i.e. using getUserTransaction( )) from within the ejbCreate() and ejbRemove() method of BMT stateless session bean. (page 228)
While in spec. on page 90, I can see getUserTransaction method call is valid from the ejbCreate() and ejbRemove() methods.
Moreover, In spec they just mentioned about getUserTransaction() method only, not about other UserTransaction methods.
Can anyone help me out of this dilemma by specifying exactly which methods are valid from ejbCreate() and ejbRemove() methods?
Thanks in advance.