[EMAIL PROTECTED] wrote:

>I forgot to remind everyone of the point behind these apparently fragmented
>service.xml files....
>
>They enable easy deployment/undeployment of large chunks of server
>functionality (including replacing the classes implementing the
>functionality) WHILE THE SERVER IS RUNNING.  In 2.4, to add a datasource
>non-programatically you had to modify jboss.jcml, stop jboss, and restart. 
>Now you can just drop a mydb-service.xml file in deploy, and away you go.
>
Actually I love that. The app I made for commercial use uses that 
feature precisely. I deploy user Datasources for each "user" (really its 
an app) so all i have to do is modify the user-service.xml add in the 
new DS then rename it to something besides .xm (giving it time to 
undeploy Thread.sleep heh) then rename it back to .xml and poof they are 
all deployed. In the original 2.4x version i had to write a batch task 
to reboot the server nightly. :(

Al



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to