For those interested:
All the examples I was looking at used @Resource to inject the UserTransaction
into the servlet, but it was always null. This works better:
ut = (UserTransaction)context.lookup("java:comp/UserTransaction");
I wish there was a better way though.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112437#4112437
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112437
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user