I have an application that is packaged as an EAR file, with a war and an ejb jar (I'm studying the idea of EJB3, with par, but I'm not there, yet).
I want to be able to deploy the same EJBs against multiple databases, such that my application can choose which database to use. I'd also like to make this as "run-time" as possible. Since the DataSource is an attribute of the ejb-jar (same for par, AFAICT), how can I do that? Do I need to split the ear into war and ejb-jar, and then generate multiple ejb-jars with different data sources? That's kinda lame... Any better ideas? Thanks, Zorzella View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883393#3883393 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883393 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
