This content has been marked as final. Show 2 replies
I am developing a manageable bean that has to create two entity beans. These entity beans must be created in a transaction. I wonder is it possible to use for it aventurines ?
If it is possible, how can I obtain UserTransaction inside of manageable bean ? I read that it's possible to obtain it using following lookups:
But, in my case both lookups fails with
javax.naming.NameNotFoundException: UserTransaction not bound
What's wrong? What am I missing ? I know that it's possible to use JTA transactions from client side (non-EJB) - in my case MBean acts as client.
I use JBoss 2.2.2.