Following is simple JAX-RS tutorial, which sends “Hello World” text as response string using JAX-RS API and Jersey implementation. Technologies and Tools used in this article: 1. JDK 2. Eclipse 3. Tomcat 4. Maven 5. Jersey 1.8 Create Maven Web Project Create a Maven web project and name it "helloworld" . File -> New -> Other -> Maven Project -> Next Select maven-archetype-webapp Select Next Type Group Id, Artifact Id and Package name And select Finish Add Project Dependencies Add Jersey repository using Maven. Use following URL to get appropriate repository. http://mvnrepository.com/artifact/com.sun.jersey/jersey-server Now update pom.xml file. File : pom.xml <project ... > ... ... <dependencies...
Zainabed.com is a website that contains programming tutorials. These tutorials primarily cover programming technologies like Java, Spring Boot, AngularJS, Web Design, MongoDB, Microservices, and MySQL.