This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Wanted to know what is used for Deployment Scripting in JBoss ?
More specifically, what scripting language is used to automate tasks such as,
- server creation
- datasource creation/deletion/etc...
- jms creation/deletion/etc...
(For example, WebLogic uses Python/Jython.)
And, also can you also please suggest a good reference for (beginning) JBoss server administration for a JEE Developer ?
There is none because each of these tasks are fairly simple:
Server creation: copy server/xxx as server/yyy
Shutdown: CTRL-C or bin/shutdown.sh
*Datasource creation: see sample *-ds files in docs/examples/jca - modify for your database, copy to server/xxx/deploy
*Datasource deletion: remove xxx-ds.xml from server/xxx/deploy
*Destination creations/deletion: create *-service.xml file with destinations, place-into/remove-from server/xxx/deploy
I guess I should have mentioned that I use Ant for my scripting needs, which includes setting up a server configuration (aka domain) and deploying various artifacts. You can see the scripts as part of the source code download for JBoss In Action (link below).
Joined: Apr 14, 2009
If anyone seeing this post has other ways of doing things, please share.