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 - Наука
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.
Ultimate series looking forward
Excellent session. Thanks for share your knowledge in a funny and productive way. I loved your masterclass
Wonderfully session
Thanks for the dedicated video on Restful topics and scenarios. The scenarios are spot on .
Excellent session sir . Thank u so much
One of the best java related RUclips channel ❤
Thank you so much, this is very helpful to fill some of the knowledge gaps for me! Please continue the amazing work!🙂
thank you sir please continue this series
it is really helpful.. thank you very much
excellent explanation
Awesome Content Basant🙏🤝. Thank you for this.
indeed insightful session as always ..!!!
Thanks alot for this sir
Amazing content. Keep it up.
This was one of the great videos in the whole series, appreciate it man
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
Nicely explained, Thanks Basant 👍
Thanks again
Waiting.. for next part 😊
Thank you basant bhai ❤
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 🙏
Enjoyed entire 1 hrs 17 minutes and 38 seconds ❤
Basant, Appreciate your efforts. You are my Java Guru. Awesome explanation with examples. God bless you. I learned new things on weekly basis.🙂🙏👍
I am much older than him but still he is my guru
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
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
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)
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?
Thank you
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.
Yes correct
please make a sonarqube and code quality tools video...
Please make such videos for microservices as well asap 🙏 😫
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❤
respect
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
Could you create a video about the spring boot series? I think your explanation is good to follow. Thanks!
It's already there please checkout my spring boot playlist
Hello Basant sir, eagerly waiting for part 5. I was expecting this weekend but take your time sir.
Hello Atul thank you for following. I will do it soon
@@Javatechie will part 5 come?
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 .
@@Javatechie still waiting for part 5
@@parulfogla6466 this weekend for sure 😊
Hello Basant, could you please make videos on micro services interview questions
can you please do some interview series for microservices also like this
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.
its there buddy please check github.com/Java-Techie-jt/spring-boot-interview-qa
I am not able to get the swagger in have added the dependency but still getting error and other changes required....?
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.
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.
Yes only to get a request that without security you can access from the browser
@Pathvariable also we can create as optional
Not sure I will check and update
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.
Same pinch
Patch vs Put when to use, idempotency
Excellent session Basant❤. Thank you so much. Can you please help to share the questions guide
Okay i will share
@@Javatechie Thanks a lot Basant
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
No we can't set it for the path variable
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.
Hello you can check out my reactive programming playlist Only the database is different from what I have used there
@@Javatechie yaa it's true..But in real time that's not enough bro..That's why requested you as per your teaching
@@vndprasadgrandhi7024 okay thanks for your interest will plan microservice series with reactive programming
@@Javatechie Thank you very much for your support bro..
I am confused about content negotiation, where is the cnfgs for filter which u r appending in uri?
Please check the properties file
Hi Basant...can you please tell me difference between @autowired and @inject
Please check this video ruclips.net/video/htyq-mER0AE/видео.html
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)
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
Yeah Basant Checked , now i'll got it, Thanks for the wonderful session @@Javatechie
❤
🙏💯👍
If possible can u provide all 4 parts Questions in downloadable PDF format..
Many more questions will cover in coming series once I will done with it then will publish blogs in my medium is that fine?
Could you please share this code
Please check the video description
Meaning of ResponseEntity plz
. Y we r giving here
Bro, can you please share the source code link here
Its there in video description please check
Hi Basant , please help to differentiate among @QueryParam , @PathParam and @RequestParam
Hello Basant, how can I contact you, email or anything