Can u plz let me know if there are any Mbean or programatic creation of datasources..
plz guide me
You need to write the velocity macro specific to datasource deployment descriptor , the data needs to be captured using MBean .
Or you can write a new MBean which will create a -ds.xml file in the deploy folder of the Jboss , this should be simpler ( not velocity macros here)
Also there is work going on this
Thanks for the support . i choose the 2nd option seems to be simpler. Now i wanna create jboss server instance programatically is it possible through MBeans or stand alone java.
Beoz there is no command or exposed api avaliable as in weblogic/websphere to create server instances. I just want to know is it possible or not?
If so can u plz provide ur valuable suggestions