In this situation you would want to add a <resource-ref> entry for your datasource in your ejb-jar.xml and jboss.xml deployment descriptors.
This will result in the datasource being bound to the java:comp/env namespace of the component using it. If in future you want to change which datasource you are using you just change which one is references. The contents for the required elements are described in the dtds. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849396#3849396 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849396 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user