Can I create a connection pool mbean and place it on the server so that connection pools can be created on the fly? Also, if so; will that MBean persist to an DataSource.xml file in the server deploy directory?
I wish to create connection pools in code much like the admin console. I want to know if I need to create the xml file and drop it in the server deploy folder or if I can completly use the MBeans.
Thanks in advance...
If you want to create deployments on-the-fly, that survive restarts (the equivalent of dropping deployment descriptors into ./deploy) you could have a look at: