Course: Develop RESTful Java Web Services using JAX-RS and Jersey

Develop RESTful Java Web Services using JAX-RS and Jersey

  • Life Time Access
  • Certificate on Completion
  • Access on Android and iOS App
About this Course

JAX-RS the Java API for RESTful Web Services is a Java programming language API specification that provides support in creating web services according to the Representational State Transfer (REST) architectural pattern. JAX-RS uses annotations, introduced in Java SE 5, to simplify the development and deployment of web service clients and endpoints.

From version 1.1 on, JAX-RS is an official part of Java EE 6. A notable feature of being an official part of Java EE is that no configuration is necessary to start using JAX-RS. For non-Java EE 6 environments a small entry in the web.xml deployment descriptor is required.

This course will guide you through the steps in creating powerful RESETful web services using the Java official API.

Who this course is for:

  • Java developers
Basic knowledge
  • Basic knowledge of Java programming language
  • Basic knowledge of web applications
What you will learn
  • Setup a Java development environment using Java 8, Eclipse & Tomcat 9 on your computer
  • Create a new maven project & add the necessary library dependencies for creating your first JAX-RS web service
  • Code your web services to respond with different MIME types
  • Handle errors
  • Create web services that support CRUD operations
  • Test your Java web services with the Postman Chrome extension
  • Build and deploy web services
Number of Lectures: 27
Total Duration: 02:02:18
Welcome to the World of Web Services
  • Course Introduction  
  • Overview of RESTful web services  
  • Overview of JAX-RS  
  • Install JDK, Eclipse and Tomcat  

    Here are the direct links for the download pages:



    Apache Tomcat:

  • Configure Tomcat in Eclipse  
  • Create and run a new Maven web project in Eclipse  
Create REST Services
  • Create a simple REST endpoint to understand the basics  
  • Producing different representations from the web service  
Setting up the Database for our Web Services
  • Downloading and setting up H2 Database  
  • Importing the DB table and data  
Creating the DAO Layer for our Web Services
  • Creating the DAO Interface  
  • Implementing the addContact() method  
  • Implementing the updateContact() method  
  • Implementing the deleteContact() method  
  • Implementing the findXXX() methods  
  • Creating the DaoFactory class  
Performing CRUD Operations
  • Handling GET requests to retrieve a resource  
  • Handling POST requests to create a resource  
  • Handling PUT requests to update a resource  
  • Handling DELETE requests to delete a resource  
Handling Errors
  • Responding with HTTP error codes for exceptions  
Custom Representations (other than JSON or XML)
  • Using MessageBodyWriter  
  • Using MessageBodyReader  
Building and Deploying
  • Creating WAR file from your Eclipse project  
  • Deploying on a locally installed Apache Tomcat Server  
Import My Project into Your Eclipse IDE
  • How to use the downloaded eclipse project  
  • Thank You  
Reviews (0)