@Webservice and JMS @Resource
Hey all, I'm trying to create a webservice that uses the in-built embedded message queue. Everything works except when using the @Resource annotation with a JNDI reference to the queue and connection factory, both of them are null. Can this kind of resource injection be used within a web service or do I need to use a service locator? Note that when I use the @Resource with a test client application (appclient -client) it works fine. I'm using Sun App. Server 9.0 Update 1.