Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.28 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.28 KB

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