File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes Most Effective way of configuring many datasources in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply 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.
 
 
subject: Most Effective way of configuring many datasources in JBoss
 
Threads others viewed
Configuring multiple datasources
Connection Pooling
Creating datasources using JMX in WAS5.1
Driver instances cached in JBoss?
Is it possible to configure more than one database server to web/appl server?
developer file tools