-- The JMS demos --

The JMS-Chat is a small chat example to demonstrate topics.

The coffeemaker is a queue demo, it concists of a service part; the machine - a coffee maker which
takes ~25sec to make a cup of coffee. You can plug in as many makers and as many order units as you wish.

1. Running the jmschat example:
1.1 Make sure you have installed the server by running "java -jar orion.jar -install" in the
orion directory to activate the admin account.
1.2 Edit server.xml and uncomment the <jms-server ... /> tag to activate the JMS service if it is not activated.
1.3 Start the server.
1.4 Run the client (from the demo/jms) dir twice (different consoles): java -Djava.naming.security.credentials=<admin password> -jar jmschat.jar
1.5 Write a message into the console; it should now show up on the other display.

2. Running the coffeemaker example:
2.1 Make sure you have installed the server by running "java -Djava.naming.security.credentials=<admin password> -jar orion.jar -install" in the
orion directory to activate the admin account.
2.2 Edit server.xml and uncomment the <jms-server ... /> tag to activate the JMS service if it is not activated.
2.3 Start the server.
2.4 Run the coffee maker (from the demo/jms) dir: java -jar coffeemaker.jar
2.5 Run the coffee requester (from the demo/jms) dir: java -Djava.naming.security.credentials=<admin password> -jar coffeemaker.jar -order
