JOnAS Tutorial | ||
---|---|---|
<<< Previous | Getting Started With JOnAS | Next >>> |
JOnAS provides a command-line console that allows you to perform many administration tasks such as dynamically loading beans. Here is how to load beans with Jonas Admin:
Loading all beans of the application stored in myApp.jar into the JOnAS server named jonas (default name):
jonas admin -a myApp.jar |
Loading all beans described in an ejb-jar.xml deployment descriptor into a JOnAS server named jonas2:
jonas admin -n jonas2 -a ejb-jar.xml |
Same as the previous example but using the interactive console:
> jonas admin You must first choose a jonas server. (command `name`) Type `help` to get the list of available commands jonas admin (jonas) > name jonas2 jonas admin (jonas2) > addbeans ejb-jar.xml |
A complete description of Jonas Admin can be found in the JOnAS Tools documentation.
<<< Previous |
Home
Up | Next >>> |