In JBoss 3.2.4 what is the best way to create datasources
from with in a custom deployed MBean instead of creating xml files
and placing them into the deploy directory. I would like
to have the datasources managed by my mbean.
I can create the xml files but haven't figued out the best
way to get them deployed programatically.
The datasources will be used only by this mbean.
Thanks for any ideas.
I did this once in JBoss 2.4 but a lot has changed since then.
Thanks,
jcl.
I found out a way. Not sure if it is valid area but
the DeploymentFileRepository mbean under jboss.admin
allows one to send a file contents which gets deployed.
Works great.