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:
Post a Comment