Develop RESTful Java Web Services using JAX-RS and Jersey

Everything you need to know for developing your RESTful web service.

4.65 (174 reviews)
Udemy
platform
English
language
Web Development
category
Develop RESTful Java Web Services using JAX-RS and Jersey
1,614
students
2 hours
content
Jun 2020
last update
$49.99
regular price

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

Description

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 RESTful web services using the Java official API.



All the best!

Content

Welcome to the world of web services

Course intro
Overview of RESTful web services.
Overview of JAX-RS

Setup

Install JDK, Eclipse and 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 service

Downloading and setting up H2 Database
UPDATE: H2 database issue
Importing the DB table and data

Creating the DAO Layer for our web service

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

Conclusion

Thank you
Bonus Lecture

Reviews

Abhishek
January 4, 2023
Good Course. But you need to properly configure pom.xml file while working. I suggest trainer to attach some theory pdfs/docs that will be more helpful.
sachin
November 27, 2022
This course definitely gave some insights into how to get started with RESTful services and overview of JAX-RS. Thanks Alot.
Alan
November 24, 2021
There are alot of outdated things in here which have created much complications. Additionally there are alot of concepts/things that are not explained well or at all. For example, when declaring dependencies it would be nice to know why you are bringing these in and for what purpose. Also, slides are used in the beginning of the course which is nice but then they are dropped off and the rest is up to listening skills and doing your own research on concepts. Not very beginner friendly.
Shailesh
October 23, 2021
Can't tell you in words , how helpful this course has been for me !!! Looking forward to more ones from the trainer.
Benjamin
January 4, 2021
I love that the instructor goes through each idea in detail. He makes it easy to get a project up and moving!
Damir
November 6, 2020
Great course, only for improve is the version of Jersey, because 1.x is old, today is 2.32 version of Jersey.
Ramy
September 10, 2020
I love short concise courses. To the point, knowledgeable instructor, best practices based, and clear explanation. Great Job Vinod, keep doing great content.
Hemanth
September 9, 2020
Really very clear and help for JAX-RS webservices, i was learning JAX-RS from last 1 month but i didn't feel better, after taking this course within a week i am able to make much progress in my skills in developing web services using JAX-RS, thank you sir, thank you so much for your clear explaination concept wise, looking forward in taking more courses.
Tulio
August 24, 2020
O inglês do professor tem um sotaque carregado, o que eu acho normal, mas a legendanão tem nada a ver com o que ele está falando, acaba até atrapalhando quando leio a legenda.
Veedjay
June 7, 2020
Gaat veel te snel (coderen), legt concepten veel te snel uit. Hier was geen video tutorial voor nodig, geen extra waarde.
Raghu
May 1, 2020
Very good course and the content really helped in understanding the concept and could able to execute it smoothly with little changes.
Onkar
April 9, 2020
So amazing. I was zero in restAPi but now I am much comfortable. Only one request, sir if you add one lecture in which you secure API using oauth it would be highly beneficial for real world programmer. in any case this course contains everything what one developer should know.
Bandi
July 5, 2019
It is very short duration course and awesome presentation with relevant explanation with proper required examples.
Ashwini
May 12, 2019
It is very well and detailed any one can understand and learn the course. I would recommend it to others. Java knowledge is needed.
Hemalatha
March 7, 2019
Very detail oriented. Explained all possible ways in each section i.e. environment setup(eclipse, tomcat, h2 DB), application development to deployment, testing with postman, error handling, eclipse shortcuts.

Charts

Price

Develop RESTful Java Web Services using JAX-RS and Jersey - Price chart

Rating

Develop RESTful Java Web Services using JAX-RS and Jersey - Ratings chart

Enrollment distribution

Develop RESTful Java Web Services using JAX-RS and Jersey - Distribution chart

Related Topics

2194420
udemy ID
2/3/2019
course created date
11/21/2019
course indexed date
Bot
course submited by