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.