3.67 out of 5
3.67
9 reviews on Udemy

Mastery in Java Web Services in less than 3 hours !

Learn how to create a RESTful web service in Springboot and Jersey with CRUD operations on it with Postman testing.
Instructor:
Arun Ammasai
3,461 students enrolled
You will learn to Develop your first Restful API Service in Step by Step

RESTful web services are loosely coupled, lightweight web services that are particularly well suited for creating APIs for clients spread out across the internet. And to build Web services that are lightweight, maintainable, and scalable in nature. A service which is built on the REST architecture is called a RESTful service. The underlying protocol for REST is HTTP, which is the basic web protocol. REST stands for Representational State Transfer.

We do have different types of frameworks to Develop Rest API, the following frameworks are widely used for API implementation.

  1. Apache CXF

  2. Jersey, the reference implementation from Sun (now Oracle)

  3. RESTeasy, JBoss’s implementation

  4. Restlet

  5. WebSphere Application Server from IBM

Introduction

1
About me
2
What will you learn in this course?
3
How can you Introduce yourself to the course community ?

Project Creation and Setup your working Environment

1
Create Jersey Project setup in Eclipse

We are going to setup your local environment to start work on the implementation.

2
First Rest API Method Creation

We are going to create our First Rest API user defined method, following things we will cover

  1. Resources

  2. Get

  3. Post

  4. Run and Debug the Service

3
Return Complex Type Response

We are going to write service which will return complex type response as a XML format

Mock-up Service and Implementation

1
Create Mock-up Service and Return Data to Client

We are going to create a Mock-up repository , and write API to fetch the data from repository

2
Retrieve Data From Mock-up [Filter Data]

We are going to create a Mock-up repository , and write API to fetch the data from repository with some specific detail. Filtering the data based on your input.

3
Setup Rest Client Postman or ARI

In this video we are going to setup client to invoke our Service. We can use Postman or ARC [Advance Rest Client]

4
Write Service with PathParam

We are going to Write a input and fetch the information and send back to the client.  With the help of "PathParam" annotation.

  1. Pass Input to the Service

  2. Fetch relevant information

  3. How to use postman to pass the input to the Service

5
Content Filter XML vs JSON

We are going to discuss about the content filter . How to send different kind of responses like XML, JSON. Basically we are going to see how to filter the content.

Connect and Fetch Data from MySql Database

1
Fetch Data from MySql Database

Instead of Static Repository we are going to work with real Database. We are going to work with MySQL DB.

  1. Establish Connection to the database

  2. Update your method to fetch the details from DB instead of Repository

CRED Operation Using MySql Database Table

1
Insert Data Using Rest API Service

We are going to Write CRUD API Service .Following API's we are going to create

  1. Insert Data from Rest API

  2. Write a method to Insert logic to the table

2
XML JSON with Consumes

Restricting the user to send only XML/JSON format . Adding logic to our API to restrict only specific data type

3
Update Data Using Rest API Service

We are going to Write Update API Service .Following API's we are going to create

  1. Update Data from Rest API

  2. Write a method to delete logic to the table

4
Delete Data Using Rest API Service

We are going to Write Delete API Service .Following API's we are going to create

  1. Delete Data from Rest API

  2. Write a method to delete logic to the table

Rest Using SpringBoot

1
Restful Web Service - Create SpringBoot Project Setup

In this session we are going to create Spring boot application to interact with our database.

2
SpringBoot Service with JPA Support

We are going to discuss about how to use JAP to retrieve the data from our database.

Thanks !

1
Thank You !!!
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
3.7
3.7 out of 5
9 Ratings

Detailed Rating

Stars 5
2
Stars 4
4
Stars 3
1
Stars 2
1
Stars 1
1
6516cd602da5d5d20ed32a79c20acd74
30-Day Money-Back Guarantee

Includes

2 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion