REST Web Services 17 - Accessing Path params

  Рет қаралды 248,844

Java Brains

Java Brains

Күн бұрын

Пікірлер: 72
@willhdq
@willhdq 9 жыл бұрын
Thank you so much for your contribution to the youtube community. I'm sure many will benefit from your sharing, including myself. May the Lord our God bless you abundantly.
@baluchandran5670
@baluchandran5670 9 жыл бұрын
It is excellent beyond the extreme exceptional. Trust me, it is life changing for many. We have to learn from you "how to become giver rather than being mere taker".
@deepak9976
@deepak9976 5 жыл бұрын
very rightly said ... what koushik has done is teaching at its peak..
@MrRight1000
@MrRight1000 8 жыл бұрын
It's good that you smile - makes a presentation more personable.
@theamrpi397
@theamrpi397 9 жыл бұрын
Thanks, man. You have made java EE simpler for mortals like us.
@vasusmile
@vasusmile 8 жыл бұрын
You are an awesome teacher.. Its really incredible the way you teach.. Thanks much for sharing your knowledge... Its a great social service.
@pulkitshah6449
@pulkitshah6449 9 жыл бұрын
You the man! Thank you very much for taking time to make this series!
@vineetsharma8270
@vineetsharma8270 5 жыл бұрын
Learning webservices for the first time..I am fortunate to learn it thorugh javabrains. Webservices is so easy and interesting to learn
@samitparade7465
@samitparade7465 9 жыл бұрын
Really amazing tutorials for those really want to learn lava . You are outstanding Koushik.......
@raamch
@raamch 10 ай бұрын
If you’re started watching these videos don’t like simply watch them. Keep a notes and write it down first then practice. It will transform your career to a good developer. Thanks to Koushik.
@bkbateman
@bkbateman 9 жыл бұрын
Another great Java Brain series. Keep up the good work.
@sarangmankar9630
@sarangmankar9630 6 жыл бұрын
Thanks Koushik, You're really awesome!! Kudos for your efforts & style of teaching...It's been a wonderful learning experience with JavaBrains...
@nikhilpatinge1574
@nikhilpatinge1574 9 жыл бұрын
Thanks Koushik ! This was much awaited..keep up the good work..!
@arbindshrestha3762
@arbindshrestha3762 9 жыл бұрын
It is helping me a lot! Kudos Koushik!!
@MunniDivya
@MunniDivya 7 жыл бұрын
Koushik ..u r the best sir everrr!!thanku so much for the tutorials..the way u explained path params is perfect!!
@MasonTrader
@MasonTrader 9 жыл бұрын
Thank you Koushik. you are something else.
@gov914
@gov914 9 жыл бұрын
Thanks Koushik! May god bless you.
@rickyb8989
@rickyb8989 9 жыл бұрын
recently found these tutorials and they are excellent...thanks!
@alensljivar2425
@alensljivar2425 9 жыл бұрын
im so grateful for this videos. They helped me a lot. Thank You
@asifkamranmalick5313
@asifkamranmalick5313 7 жыл бұрын
Thanks a lot for such great videos Koushik. They are really helpful. God bless.
@kalyanraju1679
@kalyanraju1679 9 жыл бұрын
you are just awesome...thanks for sharing your knowledge :)
@mrssslimer
@mrssslimer 9 жыл бұрын
Koushik! U sexy beast! I thank u greatly for the effort and quality which u put into your presentations. Such clear and well articulated explanations are pure gold. PUUURE FOCKIN GOLD!!! :))) I will be checking out everything that has Koushik in it from now on :)
@gov914
@gov914 9 жыл бұрын
+1
@aexsun1361
@aexsun1361 9 жыл бұрын
Thank you very much for your nice tutorial I am so excited for your next videos ;)
@ChristianAltamiranoAyala
@ChristianAltamiranoAyala 8 жыл бұрын
What a great Video... Thanks a lot Kousik...
@rajasekar2804
@rajasekar2804 6 жыл бұрын
Excellent coaching koushik...
@imr_07
@imr_07 7 жыл бұрын
Thanks sir for this amazing tutorial.
@dimitrievskidarko
@dimitrievskidarko 9 жыл бұрын
Brilliant! God bless you!
@rameezsyed6460
@rameezsyed6460 9 жыл бұрын
Thanks Koushik.
@nostalgiaTune
@nostalgiaTune 9 жыл бұрын
This is easier than I expected
@TheShopmusic
@TheShopmusic 9 жыл бұрын
You are just amazing!
@keshavjha2084
@keshavjha2084 8 жыл бұрын
gr8 gr8 gr8 videos.....hats off to you man
@alijoshuastockholm
@alijoshuastockholm 9 жыл бұрын
you are the king
@manisharora619
@manisharora619 9 жыл бұрын
One word.... Awesome.
@abhinavshah5881
@abhinavshah5881 6 жыл бұрын
extremely awesome and simple explanations.. please make some videos for Stream API too
@pritamkumarsingh5318
@pritamkumarsingh5318 8 жыл бұрын
Excellent explanations (Y)
@mayo6587
@mayo6587 8 жыл бұрын
I have noticed that using "/" before the path labels is optional. I have been using @Path("messages") and now for the method @Path("{messageId}"). There were no issues
@vishwanathgajavelly6856
@vishwanathgajavelly6856 7 жыл бұрын
thanks for sharing broda. I felt the same while I was attending these videos, but implemented only when I read your comment. Appreciate this :)
@Fernando-gv2vy
@Fernando-gv2vy 9 жыл бұрын
Thanks, this is a good tutorial,
@aliasgar1648
@aliasgar1648 7 жыл бұрын
SHEER AWESOMENESS!!
@abhishekmithun4475
@abhishekmithun4475 9 жыл бұрын
Well you have a incredible talent of making things look so easy.I must I am already your fan.The kind of curiosity you have created for web services esp REST is really commendable job!!! Could you please tell where and when could we find rest video after this ?
@absolute.explore
@absolute.explore 9 жыл бұрын
Could you please create one video on how to fetch and write that data to database (like MySQL). I mean yes, we can manually create connection write and execute sql queries, close connection, but how to use Jersey or JEE builded in functionality to work with database, what is the best practice within this type of project, I do not know, may be something like JDBC connections pool, JPA, EntityManager? What is better to use in your project, please guide me?
@mohammedsardar3779
@mohammedsardar3779 6 жыл бұрын
Hi Koushik thanks for your efficient effort and time. Do we talk about how do we expose Resource to other user once produced ?? Thanks
@absolute.explore
@absolute.explore 9 жыл бұрын
Is it a common practise using Hibernate in these kind of projects?
@dfghjcvbh
@dfghjcvbh 4 жыл бұрын
What if instead of long the there is non-primitive data structure? How will Jersey convert that?
@prasanjitdas1419
@prasanjitdas1419 7 жыл бұрын
thank u so much koushik .. i want the source code of programs which u r showing in video.. please let me know hoe can i find it
@大盗江南
@大盗江南 8 жыл бұрын
thank u so much!!!!!!!!!
@paveltuz8403
@paveltuz8403 7 жыл бұрын
How can I change the XML tag names (the java fileds has independent names)? How can I change the order of XML elements to make them change simple alphabetic order?
@theamrpi397
@theamrpi397 9 жыл бұрын
Hi Koushik, Will it be possible to do a XML post video. Right now I am taking the xml as string and parsing it. I am guessing there is an easier way involving JAXB, but the documentation is rather vague. Thanks and Regards, Hari
@theamrpi397
@theamrpi397 9 жыл бұрын
***** Thanks Nikhitha, I will try it out.
@1000LennoX
@1000LennoX 9 жыл бұрын
Hello Koushik, first of all, thank you for your awesome JAX-RS Tutorials! I have a question, is it possible to handle action-based URIs? In your example you are using the Resourced-based. Greetings!
@baibhavghimire3827
@baibhavghimire3827 6 жыл бұрын
Action based URI aren't used in REST design in my opinion
@gauravsinghal5215
@gauravsinghal5215 5 жыл бұрын
Hello Koushik, Can you create video series for apache camel with rest services(Microservice). I am facing lots of difficulties in my work. This route buillder, route config are not understandable to me.
@tatjanaandrjushina3860
@tatjanaandrjushina3860 5 жыл бұрын
Just in case someone is interested. I kept getting 404 on my attempt to get to the specific message. It turned out there were two reasons behind this. First, there were ambiguous paths (I defined @Path for the class and for the second of two methods, assuming that the first method would take the valued from the class; the assumption was wrong). Second, there was a problem with casting Integer to long and back which Jersey decided to tell me nothing about.
@LorenzoNeriIstorn
@LorenzoNeriIstorn 7 жыл бұрын
Following each steps i get this as responde: 400 The request entity cannot be empty. Why?
@ArunraajSingh
@ArunraajSingh 7 жыл бұрын
what if there is ambiguity in @Path{"/{messageId}") and @Path("/{messageName}")?
@karthikreddy1833
@karthikreddy1833 8 жыл бұрын
Hi Koushik, I'm facing difficulty in configuring framework in web.xml file and cxf-servlet.xml, Please upload a video to solve this issue
@_deepuprem629
@_deepuprem629 7 жыл бұрын
Guys, i'm getting a 404 not found error. i'm guessing, If the URI path parameter cannot be converted to an long, the request is considered a client error and the client will receive a 404, “Not Found” response from the server. --Updated from the original post: As a quick work around to test my changes at this point, i added this and it worked like a charm. but i'm sure it's gonna blow chunks if there's more than one HTTP methods in the class or different set of @PathParams for that matter... @Path("/messages/{messageId}") public class MessageResorce { Please share your thoughts!
@5uryaprakashp1
@5uryaprakashp1 7 жыл бұрын
I too faced the same issue, what I did is removed '/' from method level path, it works after that.
@fanxuanhow
@fanxuanhow 9 жыл бұрын
Hey , your video is very good for beginner as me. I have been inspired much more from it. Could you please provide further tutorial about grab data from couchDB. I have no idea about how to connect couchDB in Eclipse
@ЦветославЦветков-д7ч
@ЦветославЦветков-д7ч 6 жыл бұрын
Keep in mind when you add @PathParam to choose the right one because there are two same classes but in different package, or I could have a problem when you make request to the resource
@TM-lf6os
@TM-lf6os 6 жыл бұрын
Thanks, I had this issue. Had to erase the @PathParam and re-type and resolved it
@gcristian1417
@gcristian1417 2 жыл бұрын
THANK"S A LOT! You saved me !!!!!! :D :D :D :D :D
@sanketprabhune425
@sanketprabhune425 8 жыл бұрын
Hello Koushik, first of all thanks for all your knowledge sharing. While working with tutorial, when i removed that commented out dependency for JSON, my workspace is giving errors and building the application. Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (repo.maven.apache.org/maven2): The operation was cancelled. pom.xml /messenger line 1 Maven Configuration Problem this is the error i am getting now. not getting issues for dependency though. Can you or someone here help me out with this ? i have not changed anything in my pom.xml, only uncommented the dependency.
@adiviswanath
@adiviswanath 9 жыл бұрын
What if there was one more method ?
@sathyavathid.a8451
@sathyavathid.a8451 7 жыл бұрын
Hi.. I am getting 204 No content when I go to messages/1 or messages/2. Can anybody please help me on this?
@TM-lf6os
@TM-lf6os 6 жыл бұрын
I know this i late, but make sure you return the correct media type (xml), also try retyping the @PathParam annotation. There are 2 and its important you select the correct one.
@ramprodigy7878
@ramprodigy7878 8 жыл бұрын
this is fucking awesome
@puneethshivalingaiah
@puneethshivalingaiah 9 жыл бұрын
:) :) :)
@НиколайБеляков-ш2л
@НиколайБеляков-ш2л 7 жыл бұрын
So much water! Might have been briefer.
@TM-lf6os
@TM-lf6os 6 жыл бұрын
You suck. Be grateful for what you're getting from him. This is an incredible service he is offering
REST Web Services 18 - Returning JSON Response
5:05
Java Brains
Рет қаралды 305 М.
REST Web Services 13 - Creating a Resource
14:31
Java Brains
Рет қаралды 383 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
REST Web Services 26 - Sending Status Codes and Location Headers
17:50
REST Web Services 27 - Handling Exceptions
17:54
Java Brains
Рет қаралды 186 М.
REST Web Services 07 - REST Response
16:33
Java Brains
Рет қаралды 372 М.
Path Parameter and Query Parameter in Fast API in Hindi
18:59
Zubair Khan
Рет қаралды 9 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 154 М.
REST Web Services 03 - Resource URIs
18:14
Java Brains
Рет қаралды 529 М.
REST Web Services 11 - Setting Up
10:45
Java Brains
Рет қаралды 473 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН