REST Web Services 24 - Using Context and BeanParam annotations

Sdílet
Vložit
  • čas přidán 7. 05. 2015
  • Website: javabrains.koushik.org/courses...
    In this tutorial, we'll cover a few more ways to have request information injected into resource methods. We'll look at Context and BeanParam annotations.

Komentáře • 32

  • @pawansoni4225
    @pawansoni4225 Před 9 lety +1

    Koushik, Thanks for these awesome tutorials, When I start to watch first tutorials I can not stop myself to complete whole series of tutorials . You create interest of audience, Your way of explanation, Knowledge of things everything is Super Great. Thanks a billion Man...

  • @zafrullakhan9765
    @zafrullakhan9765 Před 7 lety +6

    Impeccable and top notch presentation with such clarity of flow and content. Thank you very much Koushik for the exceptional quality of videos.

  • @ramireddyyerreddula1841

    @koushik,predominately you done fabulous job and Thanks for providing the top class series of video's on Rest API's

  • @satyam687
    @satyam687 Před 5 lety

    Your are the Best web teacher. Thank you Koushik.

  • @kranti7473
    @kranti7473 Před 6 lety +1

    great tutorial ... Crisp and clear ... Thank You Koushik ...

  • @robl39
    @robl39 Před 9 lety

    Koushik, you are awesome. I have learned so much from you. Thanks for sharing your knowledge with us.

  • @rajeshkohir3051
    @rajeshkohir3051 Před 8 lety +2

    Hi Sir,
    Simply awesome,God bless you

  • @rachitpant
    @rachitpant Před 9 lety

    Thanks for sharing your knowledge. Very clear and concise.

  • @melsaied101
    @melsaied101 Před 6 lety +3

    Very good job, Thank you

  • @TarekFaham
    @TarekFaham Před 2 lety

    This is fantastic! I need to do the same that is access the context objects such as ServletContext in JavaBean but the problem is that the application is based on multiple complex layers and I don't know the details. I am only able to develop and deploy the JavaBean which is invoked from the back end server side components. In my JavaBean, I need to access the ServletContext but I don't think jersy is used. How to do that using plain Java APIs?

  • @8o8inSquares
    @8o8inSquares Před 8 lety

    I love it!

  • @aperturelytical6499
    @aperturelytical6499 Před 7 lety

    Hey Kaushik,
    Have a small query. Can't we just create a Instance of FilterBean with out specifying @Bean annotation ? @Bean was introduced in JAX-RS 2.0, so how did developers use to write before that with out writing all the @XXXParam annotation in the arguments.

  • @cathyk5880
    @cathyk5880 Před 7 lety

    wonderful tutorial.. Thanks Koushik . Can you please clarify , while doing a get call with @beanParam ,do i still need to send all the values of date, size etc in URI ? .Can i directly send a JSON object in the URl retrieve query values from that?

  • @viniciuscordeirosantos2924
    @viniciuscordeirosantos2924 Před 9 měsíci

    Thank you 👏

  • @smalltiny
    @smalltiny Před 8 lety

    Thank you so much

  • @sailajaatla
    @sailajaatla Před 7 lety

    Koushik, very good videos.Thank you very much.can you suggest me the online doc which is best for interview preparation on REST WS.

  • @adolfoestebanfragosomagall6204

    First of all thank you for your clear and clever explanation, keep doing these videos. Second, I have just a short question: Is there any way to call method getMessages using method overloading?, just because function body is full of if statements and using method overloading it may be clearer the use of parameters, I mean, one for year param and other one for size and start. Thank you

  • @michelchaghoury870
    @michelchaghoury870 Před 3 lety

    can you please make tutorials about oracle jdeveloper and adf and how to develop app with these technologies

  • @JSameh
    @JSameh Před 5 lety

    Great

  • @sushma6314
    @sushma6314 Před 5 lety +1

    Can somebody please help me with this. This is really weird. I am unable to import @BeanParam. Eclipse either says create a new annotation or fix project setup. I have manually checked the classes in jax.rs.* , jax.rs.core.* and jas.rs.ext.*. It is not present !!! Why would this happen ? Nothing similar to this on stack over flow as well.

  • @sandeepkaur3515
    @sandeepkaur3515 Před 9 lety

    Hi, I am following your tutorial series, able to execute all the tutorial examples till now, but getting "415-Unsupported data type" error when I send GET request to the getMessages method using @BeanParam.
    Is there something which I am missing to do ?

    • @Java.Brains
      @Java.Brains  Před 9 lety +5

      Sandeep Kaur I can think of a couple of possible things, but it's hard to tell without looking at your code. Check out the source code in the website page and see if there's any difference.

  • @DeepakSharma-co6bd
    @DeepakSharma-co6bd Před 7 lety

    Thanks so much for excellent tutorial . I have one question , can we use @beanparam for header and cookie parameter.

  • @zhengyuwang2709
    @zhengyuwang2709 Před 6 lety

    localhost:8080/arest/webapi/messages?year=2015&start=1&size=2 doesn't work after using param beans, could you please help?

  • @kkwilson27
    @kkwilson27 Před 8 lety

    Could you increase your font size?

  • @hattrickster33
    @hattrickster33 Před 5 lety

    I want to get all the wookies 😄

  • @grudingOyster
    @grudingOyster Před 9 lety

    Thank you! but now i kinda feel stupid that i never read on beanparam

  • @zhengyuwang2709
    @zhengyuwang2709 Před 6 lety

    How to query in Postman by this way? /messages?year=2015 does not work,localhost:8080/arest/webapi/messages?year=2015;start=1;size=2
    localhost:8080/arest/webapi/messages?year=2015&start=1&size=2