Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 933 Bytes

jersey_guidline.md

File metadata and controls

23 lines (17 loc) · 933 Bytes

jersey guideline

  • Creating a JavaEE Web Application
mvn archetype:generate -DarchetypeArtifactId=jersey-quickstart-webapp \
                -DarchetypeGroupId=org.glassfish.jersey.archetypes -DinteractiveMode=false \
                -DgroupId=com.example -DartifactId=simple-service-webapp -Dpackage=com.example \
                -DarchetypeVersion=2.25.1
  • To compile and package the application into a WAR, invoke the following maven command in your console:
mvn clean package
  • Now you are ready to take the packaged WAR (located under ./target/simple-service-webapp.war) and deploy it to a Servlet container of your choice.

Reference Link

maven eclipse project jersey

with json jersey restful