views:

26

answers:

1

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?

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