Hi all, I'm confused about how I can use two DataSources in my application.
I access the first DataSource (a PostgresDB) using Entity Beans (for db changes) and Stateless Session Bean + DAO (for db readings). In /conf/standardjbosscmp-jdbc.xml file I put configurations of my PostgresDB (inside section). In jboss.xml file I declare that my beans uses PostgresDB (inside <resource-ref> section). The question is: If I need (I have) to write a NEW Stateless Session Bean that access an OracleDB DataSource can I add another section inside standardjbosscmp-jdbc.xml file (and refer to this NEW section in jboss.xml file) ? Many thanks in advance for any help Moreno View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878440#3878440 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878440 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user