This content has been marked as final.
Show 2 replies
-
1. Re: Use two identical databases within JBoss 3.x
darranl Jul 27, 2004 7:23 AM (in response to georges)Deploy one datasource for app a that uses database 1 and one datasource for app b that uses database 2, both of these should be bound using different JNDI names.
Having production and test running in the same JBoss instance is a bad idea though incase your test system takes out the production system. -
2. Re: Use two identical databases within JBoss 3.x
georges Jul 27, 2004 7:42 AM (in response to georges)Okay,
binding more datasources seems not to be a problem.
But how can I switch from my application from one db to the other. the EJBs would also be the same. How could JBoss recognize which datasource he should use.
My two databases have the same structure. They only differ in their content.
Greetings
Dan