Java Reference
In-Depth Information
2. Make sure your PATH is set up to include both the JDK and Maven, as described in
Chapter 17 .
3. Perform the build and run the example by typing maven jetty:run .
This will start the JAX-RS services for the example.
Open another console window and do the following.
1. Change to the ex13_1 directory of the workbook example code.
2. Run the chat client by typing maven exec:java -Dexec.mainClass=ChatClient -
Dexec.args=" your-name " .
Replace your-name with your first name. Repeat this process in yet another console window
to run a second chat client. Finally, start typing chat messages.
Search WWH ::

Custom Search