Tuesday, July 23, 2013

Web Services and Java

A good framework to create a REST API in Java is JAX-RS.

The IDE I used for this project was Intelli-J.

Here is the link to how to get a basic Hello World of a JAX-RS project/





It is important to remember to bundle all the needed .jars in your application. Do this as explained here.

The output of this step should be a .jar file.
To run this, simply call

java -jar FileName.jar.

No comments: