Skip to content

A simple REST based application developed with JAVA, JAX-RS, Swagger and Angular.

License

Notifications You must be signed in to change notification settings

yusufsefasezer/jax-rs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java JAX-RS REST

A simple REST based application developed with JAVA, JAX-RS, Swagger(OpenAPI) and Angular.

How to run

Maven must be installed to run this application.

If you have maven execute the below command to run.

mvn clean package

Then deploy generated .war file(server/target) to servlet container(tomcat, jetty) or application server(payara, glassfish, tomee)

NOTE: Servlet Container must support Servlet 6.0 specs

Docker

Docker must be installed.

Build the Docker image with the tag "java-servlet-contact"

docker build -t java-servlet-contact .
docker run -p 80:8080 java-servlet-contact

You can access the application using localhost/jax-rs-example in your web browser.

Screenshot

License

This project is licensed under the MIT License. See the LICENSE file for details

Created by Yusuf Sezer