Java RESTful Web Services Tutorial for Beginner with Jersey and Tomcat

Published: 19 December 2019
on channel: Code Java
40,942
435

This video tutorial helps you get started with Java RESTful web services by developing a web application running on Apache Tomcat server – this web application hosts Java Restful web services powered by Jersey – an open source framework for developing RESTful web services in Java. Jersey is a reference implementation of JAX-RS (Java API for RESTful Web Services).

You will also learn to test RESTful web services using cURL and Postman tools, and code a RESTful web services client program using Jersey client API.

* Software programs used:
- Java Development Kit (JDK) 11
- Eclipse IDE 2019-09
- Apache Tomcat 9.0
- curl
- Postman

* Steps:
- Create Project & Specify Jersey Dependency
- Code Hello world Java RESTful Web Services
- Configure Jersey Servlet Container
- Test: Chrome, curl, Postman
- Use JSON for RESTful Web Services
- Code Client program

Read the text-based tutorial and download Java RESTful webservices sample project here: https://www.codejava.net/java-ee/web-...

Recommendation: Take this course https://www.udemy.com/course/spring-b... to learn Hands-on REST API Development with Spring Boot: Design, Implement, Document, Secure, Test, Consume RESTful APIs.

Timestamps
0:00 Introduction
0:22 What is RESTful Web Service?
4:20 Create Project and Specify Jersey Dependency
8:54 Code Hello World RESTful Web Services
13:44 Configure Jersey Servlet Container
17:31 Test RESTful Web Service using Chrome Browser
22:28 Test RESTful Web Service using curl
28:38 Test RESTful Web Service using Postman
34:12 Use JSON for RESTful Web Services
41:23 Code Client Program Consuming RESTful Web Services
49:34 Summary