hello all, i have several stateless sessions ejbs that used to define their own datasource via xdoclet:
* * @ejb.bean name="MyBean" * description="MyBean" * display-name="MyBean" * local-jndi-name="MyBeanLocal" * jndi-name="MyBean" * view-type="both" * type="Stateless" * * @ejb.resource-ref * res-ref-name="jdbc/ds1" * res-type="javax.sql.DataSource" * res-auth="Container" * * @jboss.resource-ref * res-ref-name="jdbc/ds1" * jndi-name="java:/DS1" * * @ejb.resource-ref * res-ref-name="jdbc/ds2" * res-type="javax.sql.DataSource" * res-auth="Container" * * @jboss.resource-ref * res-ref-name="jdbc/ds2" * jndi-name="java:/DS2" * */ public class MyBean implements SessionBean { ... } Now, i'd like to move datasource references (ds1, ds2, etc) in a once separate config place (whatever that might be) since from this point on, all ejbs i have will access the same several datasources. How would i do it? Thanks a lot james View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845900#3845900 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845900 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user