[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Application Scoped datasources

matanderson do-not-reply at jboss.com
Fri Jul 24 10:32:34 EDT 2009

I am looking for a way to setup application scoped datasources within JBoss (4.2.3 or 5).

I have a situation where we have multiple home grown applications on a single JBoss install.  Each application uses a datasource that may point do a separate server or the same server with different database permissions.  

How can I prevent application X from using application Y's datasource?

I have found this concept in other java app servers.  Weblogic uses something called the JDBC Module, where you have an *-jdbc.xml file that you place inside the ear make a small change to the weblogic-application.xml file and the datasource is now only limited to that one application.  Is this possible on JBoss?

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

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

More information about the jboss-user mailing list