Yes, that was my solution too. I created additional jars in the ear. Each new jar has its own META-INF sub-directory with ejb-jar.xml, jboss.xml and jbosscmp-jdbc.xml files. The additional jars use different EJB bean names but are bound to the same entity and interface classes as exist in the original jar (the binding occurs in ejb-jar.xml) The original jar has the actual classes and it's own META-INF descriptors. The original is bound to one datasouce (in jbosscmp-jdbc.xml) and the others are bound to different datasources. It is not necessary to repeat the classes in the other jars. You do need to identify the additional jars in the application.xml.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828163#3828163 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828163 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
