[jboss-user] [JNDI/Naming/Network] - Re: How can we add the data-source programmatic ally

PeterJ do-not-reply at jboss.com
Mon May 4 10:56:40 EDT 2009


My, you like to do things the hard way, don't you? When JBoss AS deploys the *-ds.xml file, it generates a number of MBeans based on the *-ds.xml contents. So the trick would be to generate those MBeans programmatically.

It would actually be easier to programmatically generate the *-ds.xml file (in some temp directory), and then programmatically move the file into the deploy directory. (I know this was discussed a time or two before but I cannot those posts...)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228353#4228353

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228353



More information about the jboss-user mailing list