aspose file tools*
The moose likes JBoss/WildFly and the fly likes Most Effective way of configuring many datasources in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Most Effective way of configuring many datasources in JBoss" Watch "Most Effective way of configuring many datasources in JBoss" New topic
Author

Most Effective way of configuring many datasources in JBoss

Kazeem Akinrinde
Greenhorn

Joined: Aug 24, 2002
Posts: 21
Please can anybody explain how best is it to configure many datasources in Jboss 3.2.4.

Thanx for your support
Kazeem
Damanjit Kaur
Ranch Hand

Joined: Oct 18, 2004
Posts: 346
By providing a common datasource xml file in deploy directory and providing some way to edit the properties like connection url,driver-class,user-name and password as per the need to use different databases. Putting all the database driver classes in lib directory. The jndi name and security domain will remain same for all different database configuration.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Most Effective way of configuring many datasources in JBoss
 
Similar Threads
Connection Pooling
Creating datasources using JMX in WAS5.1
Configuring multiple datasources
Is it possible to configure more than one database server to web/appl server?
Driver instances cached in JBoss?