开发者

Is it possible to create datasources dynamically in Tomcat 6 without redeploying web application?

开发者 https://www.devze.com 2023-01-17 16:53 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号