Skip to content

Java application implementing a sample REST API using JAX-RS

Notifications You must be signed in to change notification settings

jogomezr/jaxrs-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jaxrs-api-example

Java application implementing a sample REST API using JAX-RS.

In this case, we are using Jersey as JAX-RS implementation, but we could use RESTEasy as well.

How to compile the application

Execute the following command:

mvn clean compile

How to deploy the application

Execute the following command:

mvn clean package

Deploy the war file generated within the target folder to your preferred server/container, such as Tomcat.

How to generate the API specification file

If you want to generate the API specification from the source code, just execute the following command:

mvn clean compile

The API specification will be generated within the generated/swagger-api-spec folder.

About

Java application implementing a sample REST API using JAX-RS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages