On one side it is possible to declared administered objects in a ResourceAdapter deployment descriptor. On the other side you can use an administered object in an EJB.
However, I miss the link between both sides. I tried <resource(-env)-ref> in the bean's deployment descriptor as well as the @Resource annotation on a bean's member field. In both cases an exception occured telling me that the referenced resource is not bound to JNDI. As far as I understand I could bind the administered objects to JNDI in my application code (not preferable) or could deploy a JBoss *-service.xml file which configures and binds my administered objects using MBeans. However, in both cases I have to do additional work. I could do this work with any object/service, not only with administered objects of a resource adapter. If explicit binding to the JNDI is required what is the in the ra.xml good for at all? If I have to care about binding it to JNDI who needs the information in ra.xml? What changes if the is left out? Thank you very much Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955464#3955464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955464 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user