I need to create databases on the fly in my web application. So I need to create datasources for new databases. Is it possible to create datasource in Tomcat 6 without need to redeploy web application every time new datasource is created?
views:
26answers:
1
Q:
Is it possible to create datasources dynamically in Tomcat 6 without redeploying web application?
A:
You can apparently do it by accessing the Admin app from your own code - see this thread.
The other option is to not use container-managed datasources.
Mike Baranczak
2010-09-28 15:59:16