Spring Boot Interview Mastery 🔥 | Question & Answer Guide for Developers | Part-4 | @Javatechie

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2023
  • #JavaTechie #SpringBoot #InterviewQ&A
    In this comprehensive guide, we'll explore the most common Spring Boot interview questions and provide detailed answers and explanations. You'll gain insights into crucial Spring Boot concepts, best practices, and tips to help you excel in your interviews.
    Spring Boot Interview Mastery PART 1
    👉 - • Spring Boot Interview ...
    Spring Boot Interview Mastery PART 2
    👉 - • Spring Boot Interview ...
    Spring Boot Interview Mastery PART 3
    👉 - • Spring Boot Interview ...
    Annotations cheat sheet :
    👉 • Interview QA | 40+ Spr...
    ⏰ Timestamps
    0:42 - Have you worked on Restful web services? If yes What all HTTP methods have you used in your project?
    1:41 - How can you specify the HTTP method type for your REST endpoint?
    6:09 - Can you design a rest endpoint, Assume that you have a product database, and your task is to create an API to filter a list of products by productType.
    11:12 - Design endpoints in a way that takes "productType" as input. If the user provides this input, the endpoint should filter products based on the specified condition. If "productType" is not provided, the endpoint should return all the products.
    16:32 - What is the difference between @PathVariable and @RequestParam?
    18:49 - Why did you use @RestController and why not @Controller?
    26:22 - How can we deserialize a JSON request payload into an object within a Spring MVC controller?
    30:39 - Can we perform update operation in POST http method if yes then why do we need PUT mapping or put http method?
    35:31 - Can we pass Request Body in GET HTTP method?
    37:24 - How can we perform content negotiation (XML/JSON) in Rest endpoint?
    41:15 - What all status code you have observed in your application?
    44:41 - How can you customize the status code for your endpoint?
    46:57 - How can you enable cross origin?
    50:47 - How can you upload a file in spring?
    53:52 - How do you maintain versioning for your REST API?
    1:00:29 - How will you document your REST API?
    1:04:52 - How can you hide certain REST endpoints to prevent them from being exposed externally?
    1:08:07 - How will you consume restful API?
    Spring boot microservice Premium course lunched with 70% off 🚀 🚀
    Hurry-up & Register today itself!
    COURSE LINK : javatechie5246.ongraphy.com/
    PROMO CODE : JAVATECHIE50
    OR use Javatechie APP
    Download the JavaTechie app on your iOS or Android device from the App Store or Google Play Store.
    Find the links below :
    Android 🌐 : play.google.com/store/apps/de...
    IOS 🌐 : apps.apple.com/in/app/javatec...
    GitHub:
    github.com/Java-Techie-jt/spr...
    Blogs:
    / javatechie4u
    Facebook:
    / javatechie
    Join this channel to get access to perks:
    ruclips.net/user/javatechiejoin
    guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
    Disclaimer/Policy:
    --------------------------------
    Note : All uploaded content in this channel is mine and its not copied from any community ,
    you are free to use source code from above mentioned GitHub account
  • НаукаНаука

Комментарии • 87

  • @subhadeeproy4951
    @subhadeeproy4951 3 месяца назад +5

    Excellent video to make concept crystal clear and very helpful for interview, as current market doing job is comparatively easy than cracking absurd interview with 100% as pass mark.

  • @nitinsharma966
    @nitinsharma966 6 месяцев назад +1

    Ultimate series looking forward

  • @AGAGARCIA
    @AGAGARCIA 6 месяцев назад +1

    Excellent session. Thanks for share your knowledge in a funny and productive way. I loved your masterclass

  • @bharat_news433
    @bharat_news433 6 месяцев назад +1

    Wonderfully session

  • @faixan13
    @faixan13 5 месяцев назад +1

    Thanks for the dedicated video on Restful topics and scenarios. The scenarios are spot on .

  • @user-gj3nq9os7f
    @user-gj3nq9os7f 5 месяцев назад +1

    Excellent session sir . Thank u so much

  • @user-ki9ei4og8m
    @user-ki9ei4og8m 6 месяцев назад +2

    One of the best java related RUclips channel ❤

  • @sandeep_begudem
    @sandeep_begudem 5 месяцев назад +1

    Thank you so much, this is very helpful to fill some of the knowledge gaps for me! Please continue the amazing work!🙂

  • @nitheeshreddy6863
    @nitheeshreddy6863 6 месяцев назад +1

    thank you sir please continue this series

  • @pallaviv4494
    @pallaviv4494 Месяц назад +1

    it is really helpful.. thank you very much

  • @falgunimodi2826
    @falgunimodi2826 6 месяцев назад +1

    excellent explanation

  • @himanshusharma4832
    @himanshusharma4832 6 месяцев назад +1

    Awesome Content Basant🙏🤝. Thank you for this.

  • @manishmukul5874
    @manishmukul5874 5 месяцев назад +1

    indeed insightful session as always ..!!!

  • @im_asfar
    @im_asfar 6 месяцев назад +1

    Thanks alot for this sir

  • @Siddharthnawani
    @Siddharthnawani 2 месяца назад +1

    Amazing content. Keep it up.

  • @Maulik-pn6wy
    @Maulik-pn6wy Месяц назад +1

    This was one of the great videos in the whole series, appreciate it man

  • @ktmurali3274
    @ktmurali3274 29 дней назад +1

    Thank you so muchhhhhhhhhh and you are very great Basant I have seen all videos I am very greatful to you all videos available for free

  • @anandkushwaha-hf5nb
    @anandkushwaha-hf5nb 2 месяца назад

    Nicely explained, Thanks Basant 👍

  • @PappuKumar-ho3ek
    @PappuKumar-ho3ek 6 месяцев назад +1

    Thanks again

  • @Abhi-uj7gf
    @Abhi-uj7gf 5 месяцев назад

    Waiting.. for next part 😊

  • @Avinashkumar-fo2bu
    @Avinashkumar-fo2bu 6 месяцев назад +1

    Thank you basant bhai ❤

  • @user-vj4li7cc8v
    @user-vj4li7cc8v 6 месяцев назад +1

    Hi Basant way of explaining everything it is great I learnt a lot from ur videos thanks Java Guru please make some video on micro service interviews questions 🙏

  • @roaming.nomad0
    @roaming.nomad0 6 месяцев назад

    Enjoyed entire 1 hrs 17 minutes and 38 seconds ❤

  • @gopisambasivarao5282
    @gopisambasivarao5282 6 месяцев назад +2

    Basant, Appreciate your efforts. You are my Java Guru. Awesome explanation with examples. God bless you. I learned new things on weekly basis.🙂🙏👍

    • @ak-yo4wo
      @ak-yo4wo 6 месяцев назад +1

      I am much older than him but still he is my guru

    • @Javatechie
      @Javatechie  6 месяцев назад +1

      Thank you @ak-yo4wo and @gopi your words mean a lot to me. Honestly this kind of word always boosts my confidence to deep dive more and come up with better content

  • @devforall2006
    @devforall2006 6 месяцев назад +2

    Sir, you need to explain what are interceptors and fliters in detail and also about controller advices
    How session is maintained and how multiples microservices share the token and authentication

  • @javafasttrack3439
    @javafasttrack3439 6 месяцев назад +1

    awesome videos your are making. hope in your next videos shall I expect micro services interview questions. ( i am feeling these are not interview questions these are cheatsheet)

  • @CodingMachine007
    @CodingMachine007 5 месяцев назад +2

    0:42 - Have you worked on Restful webservices? If yes What all HTTP methods have you used in your project?
    1:41 - How can you specify the HTTP method type for your REST endpoint?
    6:09 - Can you design a rest endpoint, Assume that you have a product database, and your task is to create an API to filter a list of products by productType.
    11:12 - Design endpoints in a way that takes "productType" as input. If the user provides this input, the endpoint should filter products based on the specified condition. If "productType" is not provided, the endpoint should return all the products.
    16:32 - What is the difference between @PathVariable and @RequestParam?
    18:49 - Why did you use @RestController and why not @Controller?
    26:22 - How can we deserialize a JSON request payload into an object within a Spring MVC controller?
    30:39 - Can we perform update operation in POST http method if yes then why do we need PUT mapping or put http method?
    35:31 - Can we pass Request Body in GET HTTP method?
    37:24 - How can we perform content negotiation (XML/JSON) in Rest endpoint?
    41:15 - What all status code you have obsereved in your application?
    44:41 - How can you customize the status code for your endpoint?
    46:57 - How can you enable cross origin?
    50:47 - How can you upload a file in spring?
    53:52 - How do you maintain versioning for your REST API?
    1:00:29 - How will you document your REST API?
    1:04:52 - How can you hide certain REST endpoints to prevent them from being exposed externally?
    1:08:07 - How will you consume restful API?

  • @Saikat3366
    @Saikat3366 6 месяцев назад +1

    Hi Basant. Great video as always! Just wanted to add.. 204 (No Content) is also a popular HTTP status code. I have seen PATCH/DELETE APIs return that error code.

  • @krishnamohan5771
    @krishnamohan5771 6 месяцев назад +1

    please make a sonarqube and code quality tools video...

  • @akku6811
    @akku6811 6 месяцев назад

    Please make such videos for microservices as well asap 🙏 😫

  • @Vithal_Nivargi
    @Vithal_Nivargi 6 месяцев назад

    Thank you so much such wonderful video series going on.. keep it up 👏.
    Is it possible to get those questions in document/ppt/pdf.
    Because in short time that would really helps us in before interview.
    Thanks❤

  • @Briefseverus
    @Briefseverus 6 месяцев назад +1

    respect

  • @malleswarrao3887
    @malleswarrao3887 Месяц назад

    Thank you for given such a technical questions and answers. Could you please give me the list of questions in the pdf or doc file so that we can take a reference those all questions

  • @user-pg2yp4oc6b
    @user-pg2yp4oc6b 5 месяцев назад +1

    Could you create a video about the spring boot series? I think your explanation is good to follow. Thanks!

    • @Javatechie
      @Javatechie  5 месяцев назад

      It's already there please checkout my spring boot playlist

  • @Atul_Shegokar
    @Atul_Shegokar 5 месяцев назад +1

    Hello Basant sir, eagerly waiting for part 5. I was expecting this weekend but take your time sir.

    • @Javatechie
      @Javatechie  5 месяцев назад +1

      Hello Atul thank you for following. I will do it soon

    • @parulfogla6466
      @parulfogla6466 5 месяцев назад +1

      @@Javatechie will part 5 come?

    • @Javatechie
      @Javatechie  5 месяцев назад

      Hello Parul thank for checking, FYI yes part 5 will come I am planning it for this weekend. Or max it could be extended to Monday EOD . Sorry for the delay as I occupied with other activities kindly request all of you to cooperate .

    • @parulfogla6466
      @parulfogla6466 5 месяцев назад

      @@Javatechie still waiting for part 5

    • @Javatechie
      @Javatechie  5 месяцев назад

      @@parulfogla6466 this weekend for sure 😊

  • @bhargavvenkat961
    @bhargavvenkat961 6 месяцев назад

    Hello Basant, could you please make videos on micro services interview questions

  • @krishnamohan5771
    @krishnamohan5771 6 месяцев назад

    can you please do some interview series for microservices also like this

  • @karthikeyanrm3446
    @karthikeyanrm3446 6 месяцев назад +2

    Hi Basant - I don't see the GitHub repo in description. Also, kindly continue this series to Microservices snd put these interview questions in a playlist.

    • @Javatechie
      @Javatechie  6 месяцев назад

      its there buddy please check github.com/Java-Techie-jt/spring-boot-interview-qa

  • @afrozkhan.
    @afrozkhan. 2 месяца назад

    I am not able to get the swagger in have added the dependency but still getting error and other changes required....?

  • @subhadeeproy4951
    @subhadeeproy4951 3 месяца назад

    Can you please add example of same endpoint with different method. example /trade GET will return all trade however /trade POST will create new trade as per @RequestBody. and one example scenario when PATCH is doing partial update.

  • @shilpasingla1739
    @shilpasingla1739 Месяц назад +1

    Hi Basant..can you pls tell when we hit rest api on browser and when we make use of postman.I know for get request we can use browser.

    • @Javatechie
      @Javatechie  Месяц назад +1

      Yes only to get a request that without security you can access from the browser

  • @the_rocker7786
    @the_rocker7786 3 месяца назад +1

    @Pathvariable also we can create as optional

    • @Javatechie
      @Javatechie  3 месяца назад

      Not sure I will check and update

  • @shivangiagarwal5429
    @shivangiagarwal5429 4 месяца назад

    Not sure if something got updated but I was not able to implement content negotiation even after including dependency and making changes to properties file. Moreover, was getting warnings in the properties file with mvc properties. Is there any changes with new versions?
    Any tips would be helpful.

  • @Phoenix-od2bp
    @Phoenix-od2bp 6 месяцев назад +1

    Patch vs Put when to use, idempotency

  • @udayagiriveeru1366
    @udayagiriveeru1366 6 месяцев назад +1

    Excellent session Basant❤. Thank you so much. Can you please help to share the questions guide

  • @angadbansode8363
    @angadbansode8363 6 месяцев назад +1

    Hi Basant- @PathVariable is also required = false we can set. Default values for required is true for both @PathVariable & @RequestParam. Pls, correct me if I am wrong. 18:10

    • @Javatechie
      @Javatechie  6 месяцев назад

      No we can't set it for the path variable

  • @vndprasadgrandhi7024
    @vndprasadgrandhi7024 6 месяцев назад +1

    Hi Bro,I am fan of your videos and learnt a lot..Thats why sharing this information.Currrently,I need to work on Spring Reactive with Cassandra and based on this I have searched so many tutorials and references and nor found exactly and no proper information. My side request is like this me so many persons might be struggled.So,could you please start a Spring or Springboot Reactive series with Cassandra..It's so much very helpful and currently in industry willmplan to do this..That's why I am sharing this information.

    • @Javatechie
      @Javatechie  6 месяцев назад

      Hello you can check out my reactive programming playlist Only the database is different from what I have used there

    • @vndprasadgrandhi7024
      @vndprasadgrandhi7024 6 месяцев назад +1

      @@Javatechie yaa it's true..But in real time that's not enough bro..That's why requested you as per your teaching

    • @Javatechie
      @Javatechie  6 месяцев назад

      @@vndprasadgrandhi7024 okay thanks for your interest will plan microservice series with reactive programming

    • @vndprasadgrandhi7024
      @vndprasadgrandhi7024 6 месяцев назад +1

      @@Javatechie Thank you very much for your support bro..

  • @mithileshchandra2072
    @mithileshchandra2072 2 месяца назад +1

    I am confused about content negotiation, where is the cnfgs for filter which u r appending in uri?

    • @Javatechie
      @Javatechie  2 месяца назад

      Please check the properties file

  • @shilpasingla1739
    @shilpasingla1739 5 месяцев назад +1

    Hi Basant...can you please tell me difference between @autowired and @inject

    • @Javatechie
      @Javatechie  5 месяцев назад

      Please check this video ruclips.net/video/htyq-mER0AE/видео.html

  • @anandgaming778
    @anandgaming778 4 месяца назад +1

    Hi Basant, for pathvariable also we can make it as a Optional filed, is that a main difference or else we have any other differences EX: @PathVariable(required = false)

    • @Javatechie
      @Javatechie  4 месяца назад

      If you won't provide a path variable then it will give 404 resources not found. Have you tried optional and verified it's behaviour

    • @anandgaming778
      @anandgaming778 4 месяца назад +1

      Yeah Basant Checked , now i'll got it, Thanks for the wonderful session @@Javatechie

  • @karthiksundaram544
    @karthiksundaram544 6 месяцев назад +1

  • @rishiraj2548
    @rishiraj2548 6 месяцев назад +1

    🙏💯👍

  • @afrozkhan.
    @afrozkhan. 5 месяцев назад +1

    If possible can u provide all 4 parts Questions in downloadable PDF format..

    • @Javatechie
      @Javatechie  5 месяцев назад +1

      Many more questions will cover in coming series once I will done with it then will publish blogs in my medium is that fine?

  • @user-gh1eo2cg1m
    @user-gh1eo2cg1m 6 месяцев назад +1

    Could you please share this code

    • @Javatechie
      @Javatechie  6 месяцев назад +1

      Please check the video description

  • @Deepakumari-io4nt
    @Deepakumari-io4nt 4 месяца назад

    Meaning of ResponseEntity plz
    . Y we r giving here

  • @dattun976
    @dattun976 6 месяцев назад +1

    Bro, can you please share the source code link here

    • @Javatechie
      @Javatechie  6 месяцев назад +1

      Its there in video description please check

  • @user-kt2yh4rp9u
    @user-kt2yh4rp9u 5 месяцев назад

    Hi Basant , please help to differentiate among @QueryParam , @PathParam and @RequestParam

  • @sufails2741
    @sufails2741 6 месяцев назад

    Hello Basant, how can I contact you, email or anything