Java RESTful Web Services Tutorial for Beginner with Jersey and Tomcat

preview_player
Показать описание
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

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
Рекомендации по теме
Комментарии
Автор

I originally spent more than 24 hours trying to understand REST Web Services with Eclipse Jersey (I work mostly with mobile and web apps as a developer). When I went through your video and your webpage on this, I could replicate everything and understand all of the things you mentioned. You deserve an accolade what can I say, thanks a bunch. I will recommend your video to my colleagues as well which are learning this.

scientist_nick
Автор

Thanks a million for this tutorial. The tools I use are Glassfish 5.0, Java 8, Netbeans 11, and JEE8. Following your tutorial with such a setup works like charm. Thanks for sharing your knowledge.

GhanaTableTennis
Автор

Great tutorial, man, video is almost 2 years old and it's still relevant

Sirmontmanful
Автор

Thank you so much for such great video, finally I created REST Web Services with jersey without any error😊.

tausifiqbal
Автор

Finally got no 404 error after watching your video. Thanks a ton😄

skhandle
Автор

Thank you for this simple and clear tutorial, you are a saviour!

amaryadav
Автор

Thank you for such an explanatory tutorial ! You deserve a big clap .

arunprajapati
Автор

Great tutorial, simple and practical. Thanks for the efforts!

ahmadjk
Автор

3:36 steps
5:16 convert project to Maven
5:50 add Jersey API
14:52 parameter config for

ruixue
Автор

Thanks a lot, your videos saved my life again!

kamilrozwaka
Автор

Awesome tutorial!!! It would be great, that you teach how to consume the web service with a web-form...!!! Greetings from Colombia!!!

christiancamilogutierrezmo
Автор

Thank you so much, this tuturial is excellent ...it helped me a lot.

fernandolivia
Автор

Thanks for sharing the good tutorial video!

jinbeanpark
Автор

Thank you for the dedication to French
people
i'm from belgium and i'm following your course on udemy. Thanks again. it would be great to make the same e-commerce web application using Spring, hibernate and if possible create and consume a web service.
I would be taker.
Merci beaucoup

vauvau
Автор

Hello! I am getting "localhost refused to connect" any idea how to fix this? At first it was because port 8080 was in used but I changed that already and I am still not able to connect to the localhost.

nagitokomaeda
Автор

Can you please give some insights on what does <servlet-name>, <servlet-class>, <init-param> tags signifies and from where do u got their values.

yashbansal
Автор

I followed your steps to create the Dynamic Web Project and after I clicked Finish, I got the following error in web.xml:
Multiple annotations found at this line:
- There is '1' error in 'javaee_7.xsd'.
- schema_reference.4: Failed to read schema document 'platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/xml.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
I have the latest versions of Tomcat (10.0.6) and Eclipse (2021-03). I see that my Dynamic Web Module Version is 4.0 (default) whereas yours is 3.0.
Can you help resolve the error?

dickyr
Автор

please give me spring mav using restful web services complete video sir.

arulmurugan
Автор

didn't you say jax-rs in the description not jax-ws ??

TheMrCalindo
Автор

how can we use connection pool c3po, bonecp etc with rest api's jersy

GVB