[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

whafrog do-not-reply at jboss.com
Wed Dec 12 23:13:43 EST 2007


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



More information about the jboss-user mailing list