This content has been marked as final.
Show 2 replies
-
1. Re: EJB3 Session Bean (Bean Managed Transaction) issue
aakashvj Mar 20, 2006 12:48 AM (in response to wargun02)For User Managed Transactions you can annotate your session bean with following annotation:
@TransactionManagement(TransactionManagementType.BEAN)
instead of EntityTransaction you can do a JNDI lookup for UserTransaction say :
UserTransaction usrTx = (UserTransaction) ic.lookup("UserTransaction"); -
2. Re: EJB3 Session Bean (Bean Managed Transaction) issue
wargun02 Mar 20, 2006 2:04 AM (in response to wargun02)Hi aakashvj,
Thanks for the reply. You've got a great working post here.
I think I still need to be more firmiliar with the annotation thingy...
Thank you.