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 datasour开发者_运维知识库ce is created?
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.
精彩评论