Java RESTful Web Services CRUD API Examples with Jersey and Tomcat

preview_player
Показать описание
Learn to code Java RESTful web services APIs for CRUD operations (Create, Retrieve, Update and Delete) with Jersey and Tomcat. You will also learn to test RESTful CRUD APIs using curl and code a RESTful webservices client program to test CRUD API with Jersey Client API.

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

* Technologies:
- JAX-RS: Java API for RESTful Web Services
- Jersey: REST framework
- Jersey Servlet Container: to host and expose RESTful web services API
- Jersey Client: to consume RESTful web services API
- Jackson: to serialize Java objects to JSON and vice-versa

Рекомендации по теме
Комментарии
Автор

Nice Tutorial!! Thanks bro!! Only one change I recommend you make in your DAO class so that it always generates uniq id.
public int add(Product product) {
int newId = data.size() == 0 ? 1 : + 1;
product.setId(newId);

anurandatta
Автор

Hello Nam Ha Minh, Your tutorial is good and very helpful, ....But please do increase your volume or perform voiceover. because this will remove the accent barrier which is currently we are facing with your voice

ajynkya
Автор

Please help me, Im using an EJB instead of a DAO, but is always taking a null value because the web service class is not an EJB element is a servlet because of the configurations made in the web.xml, I already try putting the anotations @Stateless, but is not working for me

nicolasvillanueva
Автор

Thank you man. This example is amazing.

numanyaman-bk
Автор

Fron Student Udemy!!! that's so great tutorial. Love coding, thanks

ductran-vvie
Автор

Thanks a lot bro but why don't you use postman to mimic your crud operations?

josephwong
Автор

This video is very great. Thank you very much. I have a project with Spring Boot and i really need it in this time.

manhtran
Автор

Thank so much sir. Please sir do you have a ORM frame work technically

arulmurugan
Автор

Thank you so much sir. Please sir do you have hadoop knowledge too, also do you have some online courses?

Matthew-hhex
Автор

Im from brazil!!! Very cool your videos!!!

josecarloscastelli
Автор

This tutorial was a godsend but any chance you could add on the part on how to connect to a MySQL database? Had a task where I could only use JAX-RS and not Spring framework and I was completely lost.

mwoods
Автор

Thank you very much, i will study codes and get back to you.

musiwalter
Автор

Hiiii Sir...All ur videos are more useful for us....It helped us to create a project by ourselves very easily and it's more understandable....I have an doubt...How to create an HTML form using Rest API without using postman...And can you share the steps how to include search action in this project

CSE-pncy
Автор

Hi Nam, what is the diference into MERGE and PERSIST?

ramosespann
Автор

how to get an html form as output using Restful API

pavithram
Автор

Bro i am a beginner how I can follow ur playlist pls guide me😢. I only know core Java.

brajeshmohanty
Автор

Thank you very much, please can you make a tutorial on how to upload this web service to a real hosting server

eihabahmad
Автор

when i run curl for the first time after follwed every step in this video, i get html text with http status 404 in the terminal, anyone facing the same problem and resolve it? please help

ERISRISO
Автор

I created the servers but still display "curl: (7) Failed to connect to localhost port 80: Connection refused", do you have any idea about it?

frankchou
Автор

Thank you so much, can you make a tutorial video using springboot e hibernate with annotation where you can upload and display in a table using thymeleaf a blob document from DB thanks ser

giorgioquaresima