[jboss-user] [Beginners Corner] - Dynamic Data Sources...
do-not-reply at jboss.com
Fri May 25 11:53:56 EDT 2007
I have a application using spring-framework, this application has a service management/deployment structure, it has its own embedded jetty web-server/servlet-container, customized to launch contexts dynamically. In this way i can serve new clients without having to restarting the entire web-server (jetty), like dynamic virtual host. Now i want to use the jboss TM and jboss xa-datasourcess, connection pooling, and cache.
As my application launches diferent contexts, each context having it's own properties, i have to launch a data source configuration dynamically, have it associated with the jndi, and disponible to the context.
I have done some tests, that create a new xa ds xml descriptor file, copies it to deploy dir, and it sucessfully launched. And then removing the descriptor file, to stop de datasource.
Is there any way to dynamically launch a new datasource, without having to write xml files ?
Rodrigo S. Cavalcanti
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048724#4048724
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048724
More information about the jboss-user