开发者

Is it possible to create datasources dynamically in Tomcat 6 without redeploying 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜