This is a template for a lightweight RESTful API using JAX-RS. The sample code is a call for getting the current time.
First build with:
$mvn clean install
Then run it with:
$ java -cp target/classes:target/dependency/* com.example.Main
Template app for Java JAX-RS
This is a template for a lightweight RESTful API using JAX-RS. The sample code is a call for getting the current time.
First build with:
$mvn clean install
Then run it with:
$ java -cp target/classes:target/dependency/* com.example.Main
Template app for Java JAX-RS