Rest API | Web Service Tutorial

Ғылым және технология

Check out our courses:
Enterprise Java Spring Microservices: go.telusko.com/enterpriseJava
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : go.telusko.com/masterjava
Coupon: TELUSKO20 (20% Discount)
Udemy Courses:
Spring: go.telusko.com/udemyteluskosp...
Java:- go.telusko.com/udemyteluskojava
Java Spring:- go.telusko.com/Udemyjavaspring
Java For Programmers:- go.telusko.com/javaProgrammers
Python : go.telusko.com/udemyteluskopy...
Git : go.telusko.com/udemyteluskogit
Docker : go.telusko.com/udemyteluskodo...
For More Queries WhatsApp or Call on : +919008963671
website : courses.telusko.com/
Instagram : / navinreddyofficial
Linkedin : / navinreddy20
TELUSKO Android App : bit.ly/TeluskoApp
RESTFUL Web Service in Java using Jersey and Spring
Intro - 00:00
1. What is REST API? | Web Service - 00:05
2. Restful Web Services | Introduction - 11:12
3. Creating a Jersey Project in Eclipse - 15:29
4. Running our First Rest Jersey Application - 23:59
5. How to create a Resource Class - 32:30
6. List as Resource - 43:02
7. Mock Repository - 46:29
8. Creating a Resource - 56:27
9. How to install Postman - 01:02:25
10. Send a Post Request - 01:07:04
11. PathParam - 01:11:41
12. Working with JSON - 01:19:35
13. Mysql Repository part 1 - 01:24:56
14. Mysql Repository part 2 - 01:33:35
15. Consumes JSON and XML - 01:42:06
16. Update Resource using PUT method - 01:47:45
17. Delete Resource - 01:58:04
18. RESTful Web Services | Recap - 02:03:46
19. Spring Rest | Spring Boot Example - 02:11:19
20. Spring JPA | REST - 02:23:38
#rest #api #webservice
Spring Full Course : courses.telusko.com/learn/Spr...
Java:- bit.ly/JavaUdemyTelusko
Spring:- bit.ly/SpringUdemyTelusko
More Learning :
Java :- bit.ly/3x6rr0N
Python :- bit.ly/3GRc7JX
Django :- bit.ly/3MmoJK6
JavaScript :- bit.ly/3tiAlHo
Node JS :- bit.ly/3GT4liq
Rest Api :-bit.ly/3MjhZwt
Servlet :- bit.ly/3Q7eA7k
Spring Framework :- bit.ly/3xi7buh
Design Patterns in Java :- bit.ly/3MocXiq
Docker :- bit.ly/3xjWzLA
Blockchain Tutorial :- bit.ly/3NSbOkc
Corda Tutorial:- bit.ly/3thbUKa
Hyperledger Fabric :- bit.ly/38RZCRB
NoSQL Tutorial :- bit.ly/3aJpRuc
Mysql Tutorial :- bit.ly/3thpr4L
Data Structures using Java :- bit.ly/3MuJa7S
Git Tutorial :- bit.ly/3NXyCPu
Donation:
PayPal Id : navinreddy20
www.telusko.com

Пікірлер: 470

  • @sureshprajapati2797
    @sureshprajapati27975 жыл бұрын

    I was daily watch your video and performers base on your video now today I have a job as a android developer .thank you very much naveen sir

  • @scanadith

    @scanadith

    4 жыл бұрын

    bro which company hired u? Do they have an interview

  • @sanathrayala2745

    @sanathrayala2745

    4 жыл бұрын

    @@scanadith lol :D

  • @nbits7433

    @nbits7433

    4 жыл бұрын

    what ever he got a job.

  • @scanadith

    @scanadith

    4 жыл бұрын

    @sake kirikue r/wooosh , understand sarcasm bro

  • @adityaaditya7286

    @adityaaditya7286

    4 жыл бұрын

    @@scanadith kindly , stop using reddit terms on the youtube to act smart which you are not.

  • @manirajsivasubbu4623
    @manirajsivasubbu46234 жыл бұрын

    The way you teaching is awesome sir... I learnt python & Servlet & JSP from you and I have started REST API. you are explain everything very clearly. You are a great teacher ever I seen. Thank you so much sir✨

  • @leoking938
    @leoking9384 жыл бұрын

    This is the best spring tutorial I have seen, and I am half way through. Thanks for the video.

  • @srividhyaful
    @srividhyaful4 жыл бұрын

    I was scouring online for a very resourceful tutorial on Rest. I thank my good time that let me land this gem of a coaching on webservices. The way the trainer expresses and articulates concepts is truly appreciable. Anyone can get the hang of an API by being his student! Thanks 😊

  • @shrao11
    @shrao112 жыл бұрын

    Thanks a lot for the video. I happened to found this on KZread search and intially planned to watch it only for few minutes but later I couldn't stop myself from watching it completely.

  • @josepatino8964
    @josepatino89644 жыл бұрын

    Incredible video, you teach everything we need to know and a little bit more! Keep on the good work!

  • @raghavgupta3168
    @raghavgupta31685 жыл бұрын

    Intelligent People, then Extra Intelligent People, and then comes People with copious amount of Knowledge like "Navin Sir". I am ecstatically grateful to you sir.🙏

  • @yogeshwarit4020
    @yogeshwarit40204 жыл бұрын

    You are such a great teacher who make us understand the concept without any complexity. Thank for this worth video

  • @balachandarthangavel9896
    @balachandarthangavel98962 жыл бұрын

    Didn't even feel like a lecture or boring... you are the best teacher in youtube for technology

  • @mrunalinidhaipule9734
    @mrunalinidhaipule97343 жыл бұрын

    I really appreciate the hard work you did! Great Job! And Thanks for making us understand very clearly.

  • @ckudalkar
    @ckudalkar4 жыл бұрын

    This is the first time i understood why it is called as REST . No books told it so clearly as you. They just blindly write...Representational State Transfer. Now I understand from your lecture that it is a representation of the state of the object in either Json or XML. Thanks to you. God bless you.

  • @kalpanabejawada2451
    @kalpanabejawada24514 жыл бұрын

    If given an option, I would like to give 15 likes for this amazing tutorial. Always grateful to you sir.

  • @SugamMaheshwari

    @SugamMaheshwari

    3 жыл бұрын

    You can alway create 25 accounts and do so mate 😸

  • @maneaniket4200
    @maneaniket42002 жыл бұрын

    I was searching for your old video and BOMB you have integrated all in one thats really great !!!

  • @vinhleduy
    @vinhleduy2 жыл бұрын

    I have non engineering background, just let you know that, your tutorial was amazing, I watched many REST API lectures, this was the best for me, thank you!

  • @java4all427
    @java4all4275 жыл бұрын

    This is seriously good idea to include all your previous videos in a single video... appreciate your work.

  • @sameerasheik311
    @sameerasheik3114 жыл бұрын

    Thank you for this video, i have never seen any tutorial with such a clear explanation.

  • @fiorini_mochachino
    @fiorini_mochachino Жыл бұрын

    Probably the best tutorial on KZread on Rest Api in Java EE

  • @alakendusar6321
    @alakendusar63214 жыл бұрын

    It was Great Learning on this topic. I follow ur all leanings. Thanks a lot!!

  • @QaAutomationAlchemist
    @QaAutomationAlchemist4 жыл бұрын

    It is really awesome and every single second is informative... Thanks a lot.

  • @masum.v
    @masum.v3 жыл бұрын

    Your tutorial are getting smarter day by day, like you!! Thank you for your hard work and nice useful video.

  • @Santhosh-pu8ef
    @Santhosh-pu8ef5 жыл бұрын

    thank you for making 2-3 hour videos sir its very usefulll no distractions

  • @a.s.h.o.k
    @a.s.h.o.k Жыл бұрын

    I ❤️ ur way of explanation sir. For example, first you'll tell/show the error parts🙅‍♂️ and again expressing that you can't do like this, it make a sense✅. It makes us grasp things in an efficient way. 👏👏👏

  • @p.rajesh942
    @p.rajesh9425 жыл бұрын

    Thanks alot Naveen sir for all ths series u r launching 🙏🙏

  • @ravinivangune
    @ravinivangune5 жыл бұрын

    You are simple the awesome...😍 Its a really helpfull having all topics in single video.. 😍And your explanation makes understanding concepts very easy... 👌💻

  • @sterratran9133
    @sterratran91333 жыл бұрын

    You are very amazing sir, i always love your programming lesson. I wish you for the best and thank you.

  • @madhurisharma1203
    @madhurisharma12033 жыл бұрын

    Sir,u provide proper explaination for everything,the way you explain also keeps me interview ready..thankyou

  • @rohantharakan6908
    @rohantharakan69084 жыл бұрын

    Fantastic tutorial. Love your work! Keep Going!

  • @prachikakade4056
    @prachikakade40565 жыл бұрын

    Sir ,your trial and error method is really good. I have seen many other videos where educator simply says the correct method to use and I never understood why only this method or this way it should be done . But when you say let's see whether it will work or not and this is the error for that this is the solution it help me alot in better understanding .thank you .

  • @amitbm7497

    @amitbm7497

    2 жыл бұрын

    Thats what make him unique!

  • @anmolnayyar6412

    @anmolnayyar6412

    Жыл бұрын

    Can u tell me if i need to learn Jersey or not

  • @naveendesilva519
    @naveendesilva5192 жыл бұрын

    Tutorials are amazing. I just wanted to get a quick revision and was really effective.

  • @kevklash
    @kevklash5 жыл бұрын

    Incredible video, keep up the great work. Thanks for sharing.

  • @peterfernandes9011
    @peterfernandes90114 жыл бұрын

    Thanks for the tutorial. Its really great that u explain every piece of code!

  • @krishnaforu3482
    @krishnaforu34822 жыл бұрын

    Thank you so much for the amazing teachings sir..Felt very happy , when I searched for Rest Jersey and found ur video in the search list😍😍😘😘💕💕💖

  • @maheshgaliboina6721
    @maheshgaliboina67215 жыл бұрын

    Thanks Navin, I learned a lot from this video.

  • @arunvishwakarma2779
    @arunvishwakarma27793 жыл бұрын

    I didn't even do a single line of code to practice this :D but you taught it so well that I feel that I can make organization level application :D As always thanks for great content

  • @divyamalhotra3574
    @divyamalhotra35744 жыл бұрын

    So grateful to u for these vdos. I bacame confident on java related stuff after watching ur vdos..Thanks a ton👍🏻👍🏻

  • @javaguru5689
    @javaguru56894 жыл бұрын

    REST webservices explaination , this is best video to learn REST API in Java in whole youtube . Good work .

  • @OpenOx999
    @OpenOx9995 жыл бұрын

    It's really an amazing video !! Navin Reddy sir you are superb!! Keep going

  • @deepanshu2761
    @deepanshu27614 жыл бұрын

    sir this was one of an awsome tutorial i have seen till now ...thankyou sir very much ....

  • @mylinhtran3591
    @mylinhtran35914 жыл бұрын

    I haven't finished the video yet because it's quite a long one, but I like what you have shown so far. I will finish this tutorial soon. Just want to put a comment here before it slips my mind. Great explaination and thanks for the tutorial!!

  • @sannge2631
    @sannge26314 жыл бұрын

    best self-learning video I have ever watched. Thanks a lot.

  • @savitakrishnareddy9086
    @savitakrishnareddy90863 жыл бұрын

    Thank you so much. your teaching is very clear and simple and covers everything. thanks a lot.

  • @ganlortrix2173
    @ganlortrix2173 Жыл бұрын

    Thank you for the excellent tutorial on REST API technology. I was searching for a tutorial to understand the same. I learned a lot from your presentation and I appreciate your clear and engaging style of teaching. You made the topic easy to understand and fun to practice. I especially liked how you demonstrated the use of different HTTP methods and how they affect the resources. Thanks for your energy and efforts that you put in these videos every time. I would highly recommend your tutorial to anyone who wants to learn more about REST APIs

  • @PRABHATKUMAR-hs3uw
    @PRABHATKUMAR-hs3uw4 жыл бұрын

    best video on youtube today i found ..this is damm good . #MILLION DOLLARS VIDEO #THANK YOU SIR.

  • @factologist875
    @factologist8753 жыл бұрын

    Thank you Naveen. You explained concepts very clearly and your videos are always helpful .

  • @shrutijain7734
    @shrutijain77342 жыл бұрын

    Your videos deserve LikeX10 ! You make aliens life easy at Earth!

  • @kevinbenavides92
    @kevinbenavides924 жыл бұрын

    Kick ass explanation of REST thank you. 🖖🏼

  • @manishbolbanda9872
    @manishbolbanda98724 жыл бұрын

    You make everything so simple

  • @alokranjan5885
    @alokranjan58854 жыл бұрын

    Trust me, you are the best..I always come back to you after several visits

  • @falgunidattani224
    @falgunidattani2243 жыл бұрын

    Thank you so much for explaining this with such simplicity. It was to the point and clear as crystal. One more request, can we please have more on elasticsearch and its use on rest API ?

  • @korove2
    @korove23 жыл бұрын

    Thank you very much! Your videos are more than helpful!

  • @pranatoshsatpati
    @pranatoshsatpati5 жыл бұрын

    Thank you for the tutorial sir Looks like sensei likes simple thanks over complicated praising

  • @amitbm7497
    @amitbm74972 жыл бұрын

    You are a wonderful teacher. Thank you!!

  • @gowthamannarayanan9521
    @gowthamannarayanan95214 жыл бұрын

    First of all very good tutorial. Highly appreciated Naveen. Have taken notes till point 17 which may be helpful to recall. Correct me if anything wrong @TELUSKO REST Rest can accept and produce global formats such as json,xml. It is nothing but respresentation of state of the object. We can cache the service if we are consuming it frequently. There are 4 types of request which will use usually that we can map into CRUD operations GET-->To retrieve the values. Note: If you dont mention any @Path in method level then when u frame and hit URL with resource alone then it will be called. POST-->Used to create\insert operations PUT-->Update Delete-->Remove There are several ways of implementation of REST as it is a concept. Here we have considered JERSEY. Creating Maven project which will import and create jersey dependencies in eclipse EE ide. Creating Resource. Will have to create class. Above class will have to mention @Path("employees") URL Eg: HTTP://host:port/applname/webapi/employees GET: Sample to get all employees Below shd be in method header @GET @Produces(MediaType.APPLICATION_XML) public List getEmployee(){ ........ return new ArrayList(); } Note: In Employee object class we shd mention @XmlRootElement so that it acts XML return type for the service. URL Eg: HTTP://host:port/applname/webapi/employees If we enter above URL and press enter from browser, will get output in xml format. To produce in json format then will have mention MediaType.APPLICATION_JSON and you can add many types by separated with commas But for JSOn support will have to add jersey-media moxy tag in pom.xml. If we want to pass URL param so that will get particular\single object URL Eg: HTTP://host:port/applname/webapi/employee/101 @GET @Path("employee/101") @Produces(MediaType.APPLICATION_JSON) public Employee getEmployee(){// we cannot pass 101 value to the method. Simply we can say it is hardcoded. ... } So, will have to rewrite the method logic. URL access will be same. HTTP://host:port/applname/webapi/employee/101 HTTP://host:port/applname/webapi/employee/102 @GET @Path("employee/{id}") @Produces(MediaType.APPLICATION_JSON) public Employee getEmployee(@PathParam("id") int id){// Id act as a place holder ... return obj.get(id); } POST: URL Ref: HTTP://host:port/applname/webapi/employees/employee/ pass values with body as no path param mentioned @POST @Path("employee") public Employee createEmployee(Employee emp){//Insert new record ... return emp; } PUT: URL Ref: HTTP://host:port/applname/webapi/employees/employee/101 pass values with param, so that it will be updated. @POST @Path("employee/{id}") public Employee updateEmployee(Employee emp){//Update ... return emp; } Notes: GET(Single record),DELETE and PUT looks same w.r.t URL. But can be differentiated using the type of request when client submits it. DELETE: URL Ref: HTTP://host:port/applname/webapi/employees/employee/101 pass values with param, so that it will be Deleted. @POST @Path("employee/{id}") public Employee deleteEmployee(Employee emp){//Delete ... return emp; } Notes: GET(Single record),DELETE and PUT looks same w.r.t URL. But can be differentiated using the type of request when client submits it. As per REST and coding standards will have to map the CRUD operations with correct HTTP request. However if you dont map also, according to the internal implementation it will work but still it is not recomended.

  • @dazelmann6589

    @dazelmann6589

    4 жыл бұрын

    Good notes.

  • @gwenbijisang2432

    @gwenbijisang2432

    2 жыл бұрын

    Thanks for this summary

  • @lifelongtennis712
    @lifelongtennis7124 жыл бұрын

    Navin, Thank you so much for the video.

  • @deepagajendra5703
    @deepagajendra57035 жыл бұрын

    Really helpful...plz make 3 hrs video..its lyk revision/learning of whole subject in less tym..😊

  • @apoorveesinha8679
    @apoorveesinha86794 жыл бұрын

    Thank you for providing us with such a meaningful and helpful resource in the most easily accessible way. We are truly indebted to you for your efforts to educate people with this gem of a tutorial. Also, thank you for making a successful attempt at giving relevant and easily understandable examples of concepts that we otherwise would have taken ages to learn. Keep up the good work sir.

  • @apoorveesinha8679

    @apoorveesinha8679

    4 жыл бұрын

    Sir XML is not working on my system..are there any specific changes that need to be made in the code shown in the video?

  • @VivekManikanta
    @VivekManikanta3 жыл бұрын

    Your explanation extremely stupendous. Can you please start sessions on rest assured (API Automation), many people like me will update the skills in software testing.

  • @ducchibui
    @ducchibui4 жыл бұрын

    thanks so much Sir! I have learnt a lot from your videos.

  • @bhanuteja3910
    @bhanuteja39104 жыл бұрын

    Good work keep it up. You are changing many people's life for good..

  • @avi9032
    @avi90323 жыл бұрын

    Thank you sir ! You are an awesome teacher !

  • @ravikiran3196
    @ravikiran31963 жыл бұрын

    @Navin sir-you are an excellent teacher. 🙏 Thank you. Session was very worthy. Gained good knowledge on Rest API.

  • @thatisai12
    @thatisai124 жыл бұрын

    Sir! your teaching very good. Anyone can easily understand!

  • @jesuspereiraoficial
    @jesuspereiraoficial3 жыл бұрын

    Great video tutorial!!! Thanks so much!

  • @rajeevarora4543
    @rajeevarora45434 жыл бұрын

    hi Navin, Thank you so much for hsaing knowledge; your session are always great. I am working on one API related project and need few trainees who are good in API so incase you like to refer few of your trainee who you feel are good then its will be great help

  • @tanmaybhayani

    @tanmaybhayani

    3 жыл бұрын

    trainees, but also good in API???

  • @ukmgaming0
    @ukmgaming05 жыл бұрын

    Sir you helped me a lot to learn java

  • @glamour7538
    @glamour75384 жыл бұрын

    awesome video, can't thank you enough .

  • @likithagunda7048
    @likithagunda70484 жыл бұрын

    Needless to say, amazing content!

  • @dibyojyotichatterjee4851

    @dibyojyotichatterjee4851

    4 жыл бұрын

    Then you r u saying if it's needless.

  • @rpstudio9298
    @rpstudio92983 жыл бұрын

    Crystal clear explanation .. kuddos to you Navin ...

  • @RaviYaramati
    @RaviYaramati5 жыл бұрын

    Excellent video.. thank u so much Navin...

  • @sitansuchoudhury538
    @sitansuchoudhury5383 жыл бұрын

    Thank u sir.i love your lecture and it is very useful for me.

  • @shaikhnafeesa6835
    @shaikhnafeesa68354 жыл бұрын

    Very well Explained Thank you so much sir.

  • @princeteddy9973
    @princeteddy9973 Жыл бұрын

    beautiful teaching i really love your teachings

  • @JavedAnsari-ko9cg
    @JavedAnsari-ko9cg3 жыл бұрын

    No comparison for u Naveen Sir...Fan of ur teaching style

  • @naveen-ib5ly
    @naveen-ib5ly5 жыл бұрын

    awesome work bro , please keep up your good work...

  • @jindagi_ka_safar
    @jindagi_ka_safar5 жыл бұрын

    nice nice ......great video ....best API explanation ...very helpful.........big thanks

  • @saurabhkumarsah6902
    @saurabhkumarsah6902 Жыл бұрын

    Thanks telusko implemented rest using jersey with my sql 8 version having beginner in java as coming from .net experience

  • @divinenana2039
    @divinenana20392 жыл бұрын

    Great content i love this... Well done!!!! Kudos

  • @vivivi5678
    @vivivi56784 жыл бұрын

    Very clear and understandable one ✨

  • @user-qh8nm8xh6i
    @user-qh8nm8xh6i3 жыл бұрын

    thank you very much , it help me a lot about my work of graduation

  • @saidaraomaddigunta9195
    @saidaraomaddigunta91954 жыл бұрын

    Your all vedio's super sir i want React js vedio sir as early as possible to build up. Any thanks for sharing knowledge

  • @rajasekharreddy6891
    @rajasekharreddy68915 жыл бұрын

    Great teaching sir plzzz make a full video on devops ..wtng for u r rply sirr

  • @vaishaliahlawat6383
    @vaishaliahlawat63834 жыл бұрын

    Great video.. I am new to REST and this video made many things just simpler.. thanks

  • @RakeshKurup7
    @RakeshKurup73 жыл бұрын

    Thanks for such great video. Please do add exception handling part as well as how to consume a rest webservice.

  • @nagarjunajonnadula2149
    @nagarjunajonnadula21494 жыл бұрын

    In entire video this "public interface AlienRespository extends CrudRepository" is awesome. Thank you sir....

  • @coffeejavalove7156

    @coffeejavalove7156

    4 жыл бұрын

    I am getting error here. It says Action: "Consider defining a bean of type 'com.telusko.AlianRepositor' in your configuration." Error 12760

  • @kirankumar815
    @kirankumar8155 жыл бұрын

    Loveyou 3000 Sir ❤🙏😍

  • @RajenGenius
    @RajenGenius4 жыл бұрын

    God bless you sir for your help

  • @cybertronsid
    @cybertronsid5 жыл бұрын

    Thanks for the video.

  • @school8066
    @school80664 жыл бұрын

    Great work Reddy bhai....

  • @karpagammohan6605
    @karpagammohan66052 жыл бұрын

    Thank you so much sir.. Really helpful..

  • @sreeshakv5405
    @sreeshakv54052 жыл бұрын

    Thank you for the amazing lecture sir

  • @itachi-senpaii
    @itachi-senpaii2 жыл бұрын

    thanks a million times ...

  • @pvpatil2007
    @pvpatil20075 жыл бұрын

    very good video. Thanks a lot!!!

  • @Srvsaikumar
    @Srvsaikumar4 жыл бұрын

    very useful.. thank you very much sir..

  • @ViswaKids
    @ViswaKids4 жыл бұрын

    I loved the video and its more helpful for my life Thanks a lot. Do you have any video on AWS also.

  • @raghavendrac3602
    @raghavendrac36024 жыл бұрын

    Navin Sir, really appreciate your efforts for such a valuable videos. Your videos are very interesting and can sit hours together to learn it. Now I want to watch all of your videos. Please let me know if there is plan for Machine Learning videos also.

  • @arunendraprakashdubey7904
    @arunendraprakashdubey79043 жыл бұрын

    I love this chanel.

  • @lokanathshroff3301
    @lokanathshroff33014 жыл бұрын

    Excellent tutorials, Sir please make video on implementation of digital signature certificate using spring ,itext

  • @navjeetkaur5742
    @navjeetkaur57422 жыл бұрын

    Thank u so much Navin sir.

  • @benjamenaremu2027
    @benjamenaremu20275 жыл бұрын

    Thanks so much sir. please keep up the good work.

  • @dhivyavetriselvan
    @dhivyavetriselvan4 жыл бұрын

    Excellent tutorial

Келесі