[jboss-user] [EJB 3.0] - Multiple instances of EJBs

aidan_b5 do-not-reply at jboss.com
Thu Aug 17 05:31:23 EDT 2006


Hi,

A requirement i have for an application is that it uses 3 identical databases.
It makes sense to have one set of entity bean classes, dao classes and facade on top to manage if possible each of the three.

How do I configure the facade, entity manager and/or persistence.xml so that the application can look up the correct facade intance or tell the facade to use the correct DAO instances?

Currently the facade and DAOs are implemented as stateless session beans.

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965667#3965667

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965667



More information about the jboss-user mailing list