I have some code that I call from within a Web app which makes use of UserTransactions but if I try and use the same code in my MBean it says that UserTransaction is not bound! Any help here would be greatly appreciated. Do I need to use the depends key word in some way?
Okay I managed to figure out what is causing this?
In code I have the following lookup for a user transaction which works fine when calling from within a servlet
This fails though when calling from an MBean so I changed the code to call
removing java:comp/ and all works fine...something is not quite right here guys