tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msdocware ...@docware.de>
Subject Re: Using JMS with Resource annotation
Date Fri, 04 Sep 2015 12:08:04 GMT
After reading this https://docs.oracle.com/javaee/6/tutorial/doc/bnaeo.html,
I now have a better understanding what is possible in web components. 
It's stated there that resource injections by annotations should work in
Servlets. For simplicity I had done my tests in a JSP. And that was the
problem. Once I put my code into a servlet, Websphere during deployment
recognized the resource requirements and offered the mapping to the
available resources. Testing worked.

Now I am much further.



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Using-JMS-with-Resource-annotation-tp4676042p4676115.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message