Spring Boot Interview Questions and Answer | Most asked / Tricky Interview Questions | Code Decode
ฝัง
- เผยแพร่เมื่อ 3 ธ.ค. 2024
- In this video of code decode, Top Spring Boot Interview Questions and Answers for freshers and Experience candidates we have covered some top spring boot interview questions that has been asked over the years to canditates
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/u...
Course Description Video :
yt.openinapp.c...
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". Spring Boot helps you accelerate application development.
It looks at your classpath and at the beans you have configured, makes reasonable assumptions about what you are missing, and adds those items. With Spring Boot, you can focus more on business features and less on infrastructure.
For all Spring applications, you should start with the Spring Initializr. The Initializr offers a fast way to pull in all the dependencies you need for an application and does a lot of the setup for you.
Spring Boot Interview questions are usually tricky ones and we need to practice them before appearing for spring boot interviews.
A very common question asked is what is @SpringBootAnnotation
@SpringBootApplication is a convenience annotation that adds all of the following:
@Configuration: Tags the class as a source of bean definitions for the application context.
@EnableAutoConfiguration: Tells Spring Boot to start adding beans based on classpath settings, other beans, and various property settings. For example, if spring-web MVC is on the classpath, this annotation flags the application as a web application and activates key behaviors, such as setting up a DispatcherServlet.
@ComponentScan: Tells Spring to look for other components, configurations, and services in the com/example package, letting it find the controllers.
This video of spring boot interview question and answers contains Top basic important spring boot interview questions and answers with Live Demo
Spring Boot Interview Question and Answers Part 2: • Spring Boot Interview ...
-------------------------------------------------------------------------------------------------------------------------------------
Code Decode Playlists
Most Asked Core Java Interview Questions and Answers : • Core Java frequently a...
Advance Java Interview Questions and Answers : • Advance Java Interview...
Java 8 Interview Questions and Answers : • Java 8 Interview Quest...
Hibernate Interview Questions and Answers : • Hibernate Interview Qu...
Spring Boot Interview Questions and Answers : • Advance Java Interview...
Angular Playlist : • Angular Course Introdu...
GIT : • GIT
-------------------------------------------------------------------------------------------------------------------------------------
Subscriber and Follow Code Decode
Subscriber Code Decode : www.youtube.co...
Linkedin : / codedecodeyoutube
Instagram : / codedecode25
--------------------------------------------------------------------------------------------------------------------------------------
#springbootinterviewquestions #javainterviewquestions #java #codedecode #springboot
it was very helpful .. #Thank #You Theory + Code Demo !! Please make another part !!
M glad you find it helpful. Sure will make it soon
This is what you want :
th-cam.com/video/RZNV9hi7a8w/w-d-xo.html
Link to another part
@Jaxson Kai instablaster ;)
@@CodeDecode⁰0000⁰000⁰00⁰
@@CodeDecode😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊
Amazingly explained. Even a person who has never heard of springboot he/she will be able to crack an interview
Thanks 👍
But what is the use if that person will get the project so without knowing the concept, no one can survive...
Video is great 👍
Mam want this application code please send GitHub link
@@divyajain1278
How do you judge if they will know or not?
@@divyajain1278 you have to understand interview cracking is defferent while working on projects is different scenarios
You are a hope, a confidence booster. Thank you for all of your hard work that you put for making these videos. Really grateful!
Thanks a ton Simran 🙂👍
I have watched whole series for spring boot and got selected
Thanks a Lot!!
That's a great news Rohit. Congratulations 🎊🎊🎉🎉. Keep rocking man 👍👍
@Rohit do you have any experience??
For Remove embeded tomcat we can write in started-web dependency also alternate to properties file config
19:31 What does the @SpringBootApplication annotation do internally?
25:51 Explain @RestController annotation in Spring Boot?
28:19 Difference between @RestController annotation and @Controller in Spring Boot?
31:40 What are the major differences between RequestMapping and GetMapping?
33:55 What is the use of profiles in Spring Boot?
Thanks Saravanan 🙂
I'm learning spring boot and trying to switch towords spring boot and rest APIs and here comes what I wanted... Crazily super. Thanks a lot
Thanks Abhishek 🙂👍
I have been watching all your videos since I'm preparing for interview. I must say, You're videos are very helpful. Please make videos on Spring framework interview questions with example explaination.
Thanks for the nice words. Will create that video soon 👍
Today 40% your videos helped to crack an interview with Tech Mahindra Hyderabad and got selected with 230% hike. From 3 LPA to 10.5 LPA for 3 yrs exp.
THANK YOU 👍👍👍
Congratulations Ram🎊🎉🎉. Well deserved 🎊🎊. Keep learning keep growing Man 👍👍🙂🙂
40% and what about rest 60 percent. From where you prepared that @RamRkRam
Good content .. only thing that made me laugh or smile was when you said I am talking about normal human being and not software developer.. 😂😂😂😂😂
I liked this "I'm not talking about Software Developers but normal human beings" 😂😂😂😂😂😂
😝
We are not normal humans 💪😎
😇
We are beyond humans 🤣🤣🤣
Best video ever seen prove me if I am wrong.. last week thinking where to start .i saw one video last week one lady horrible and decided not to watch .. when I start your video thought to skip after hearing lady voice .dont take me wrong and I respect women.but when I started and watching video omg u r simply super .. and decided to all of your videos .. my cousin just passed beech and I forwarded to her to go through your videos... keep going ...once again thank you as you gave me hope that where to start😄
This is funny 🤣😂. Thanks for not judging me by a female voice.
Your long post is a motivation. Thanks for writing back. Much appreciated.
But yes, had a great laugh after reading this. Thanks 😂
@@CodeDecode i saw ur latest video first and was impressed .. may be if i see ur first video first then i might be same impression and might have missed ur wonderful sessions ..😜🤪
OMG ur explanation is crystal clear, ur my Java Guru. God Bless You mammm
❤️❤️
Thanks to your video... I have got one question with exclusion tag in my interview today..... Thanks a lot... Good job .... keep going... god bless
All the best for your upcoming interviews Dipa. Keep learning keep shining🌟👏
Thanks! This was helpful. Pls create second part as well .
Sure will upload soon
Best explanation...after seeing ton of videos....got this.....thanks 🙏☺️☺️
Thanx a lot🙂🙂
Your videos are so helpful. They are asking the same question.
Been there 😃 I understand 👍
Thanks for this content at one place. This will really help us in interviews.
You're welcome
Thanking you from great heights for these kind of Bootstrap videos.
You are Welcome....
Yaarrr kya shi practical knowledge bata k explain karteh ho… thanksss a lotttttt .. uffffff may god bless you❤❤❤❤❤❤❤❤❤❤
Thanks a lot Akanksha ❤❤❤❤. Acha laga dekhke that u liked it 😍🙂🙂
Yet another very good explanation
Requesting you to pl. make one video on
1)Spring CORE
2) Spring MVC
3) Spring Annotations
4) Spring AOP
5) Spring JDBCTemplate
6) Spring Hibernate integration
7) and some advance spring framework interview questions.
And requesting you to pl.upload PDF of question answer of all Java related technologies and framework that you have covered so far
Thanka a lot for such videos
You are doing great job 👍👍🙏🙏
Yes all these stuff are remaining. We will upload them soon 👍👍🙂🙂
Am very surprised that I Little span of time you have cleared all basic and important question easily. Thank you so much. 🙏🙏
Thanks Sachin 🙂👍
very helpfull want more this type of session covered all type of information thank you very much
sure we will create more videos like this
Thank you Mam for this Your content is awesome . Clear all my concept. Thank you @@CodeDecode
The amount of information you have shared in 1video is really awesome and I can say that based on my experience as Software Engineer. These videos are really good for Interviews. I am watching most of your videos these days as I am preparing for my Interviews. Keep posting.
Thanks :) I too am in this industry and faced many such interviews. I know the importance of basic that's why such videos 👍 n I m grateful to have viewers like you 🙃. Keep studing and you will be able to reach all the heights in your career. All the best 👍
Great and clear explanation in a short time. Easily everyone can understand. It's really helpful. Thanks.
Thanks 🙂👍👍
Precious content and very well explained . Loving it . Watched for 9 minutes and I am being forced to write down comment. Gonna check each and every playlist. ✨🙏
Thanks Tejas 🙂👍
This is so usefull a short and quick revision of most important concepts...Plus almost all of these questions were asked to me one or the other interview...
Thanks a lot👍👍
Hope you reach to your dream job soon 👍👍
31:29 @Controller vs @RestController well illustrated. Appreciate it
Thanks😊😊👍
I really love the way you explained the concepts, great way of demonistration each and every point. this is the best I ever till now, thank you soo much dear madam.
Thanks Sekhar, Keep learning, keep growing Man 👍
you got great teaching and explanation skills.Please upload full videos on spring boot.Thank you
Thanks a ton Archana. We will surely upload more such videos
All your videos are excellent. Best revision I would say. By any chance if you can share the ppts please?
Can you please make more videos on microservices, I have see 3, parts of your microservices, need more to cover rest of the concepts. Also videos on kakfa, docker & kubernetes will also be much valued for experienced guys.
Thanks.
It's really very helpful with basic spring boot knowledge I am able to understand all the concepts so clearly. Thanks for your efforts keep going 🎉
Thanks dimpull 🙃🙃👍.
Very nice video. You explained the importance of spring boot with regards to the RAD which is a modified Waterfall model as you said. Now that most companies use Agile, can you explain the importance in relation to agile also ?
Your explanation is very good short and understandable...
Your is very good as well ... Thank you for all vedio..
Thanks neha for the nice words
Thankyou Madam for your clear explanation
Thanks Srikar 👍👍
It is very helpful and Nice explaination in simply way
Thanks Sai
its very helpful , and nicely explain each topic which are very important for interview perspective
Thanks..
Thanks Yogesh. Sure we will create more such videos👍👍
Wonderful videos!! It would be nice to have a video on MVC architecture using spring boot. Maybe an example project. Thanks. Loved your explanation style and video making skill for Java.
Sure we will upload it soon 👍🙂
Thank you mam.
In the technical round I got the same questions.
You are welcome
Wow what an explination👌🏻👌🏻. After watching your videos I have got more clarity on spring. Keep rocking
Thanks Vishwanath 🙂👍
29:40 Software developers are not normal human beings 😂. BTW this interview prep series is GOLD.
😂😂. Thanks😝
I have learned a lot from your videos. Thankyou for posting these
Glad to be helpful Pushkar 🙂👍
Nice video.. mentioning difference between spring and spring boot annotations. Cleating concepts with direct coding example.
Thanks this content helping me a lot. Please release the next part of Spring Boot Interview questions and answers.
Sure Shubham. We will create other parts soon 👍🙂
Thank you so much for this wonderful content, please upload such informative videos more and more...
sure shivakumara videos are lined up you will see it soon...
Thank you sooooooooo much... for this video... Web and rest api definition is too good 👍
Thanks for the nice words
Awesome and very helpful explanations
Thanks. M glad you find it helpful
Thanks for ur explanation ..I have learnt 4new things
M glad 👍👍
Thanks for the video....Very helpful and way of explanation is awesome......waiting for 2nd part
Thanks. Going to upload part 2 soon
th-cam.com/video/RZNV9hi7a8w/w-d-xo.html second video is Up now....
Awesome Tips! You are doing a great job! Completely understandable. Thanks a lot!
Thanks a ton Pragya
Surprisingly Amazing explanation. Thanks a lot!!
One question I had was where can I see the application context class in spring boot?
Ctrl + shift + t in eclispe or sts and write applicationContext, you will be able to see it there
Simple super explanation. It's really helping to understand the concept easily. ThankQ #CodeDecode.
Thanks Karteek 🙂🙂👍👍
Juz an awesome explanation 👍🏻👍🏻👍🏻
Thanks Pavithra 🙂👍
Best video for refreshing the concepts.
Thanks sukrit 👍
Pretty Helpful !!! Could you please make some more advanced questions
Sure 👍
Awsome explanation..hats off for your efforts..
Thanks
Your videos are awesome, awesome and awesome!!!
Thanks rishi
Excellent delivery of exact contents.... Please make more vedios.. 👍
Sure thanks 👍
Very simple and informative video. Thanks a lot.
Thanks Sanjeev 🙂👍
Thank you so much for this video!
Really helpful and explained with real time examples and the exact use of the features.
God Bless You!
Thanks for the nice words Priya 👍
Thanks for such a nice explanation! Thumbs up!
You are welcome Rajesh......
Very clearly explained !! Thank you ..It's really useful
M glad you found this helpful 👍
If possible can u add the link to the power point or the notes which you are using on each video description...
I don't how much should I thank you🙌🏻😁
Your channel is the best one when comes to prepare for interview at last moment🤩 Keep up the same quality🙌🏻
Thanks a lot 👍👍🙂🙂. Sure👍
Amazing explanation please create more videos on Spring Profile Configuration and Multiple Data Source Configuration in spring boot
Sure will do that soon
Thank you so much .. it's good explanation and clear..
Thanks Venu 👍🙂
This is the best explanation I ever had till date. Very Impressive 👏. Keep it up 👍
Thanks for the nice words sudhir
Sheer knowledge, thanks and keep making new videos.
Thanks a lot Nilesh 🙂👍
Please do video for spring interview questions also
It is very helpful for cracking the interview
Very nice explaination and good clarity video
Thanks Harini. Sure we will create on that too.
Very well explained. Keep up the good work mam 🙏
Thanks
at 25:54, @RestController is a specialization of @Component. But it should be @Controller right? not @Component?
@controller is specialization of @component again. Both create spring beans
Damn good video... Keep it up and make more nd more videos like this...
Thanks. Sure will keep posting 👍
Mam, it was really helpful video, please make a more videos on spring boot using microservices. Thank you.
Sure Preethan 🙂👍
Very useful..without boring...please do indepth on security and other core springboot topics.
Sure will do that soon
Thank you very much!!! Can you please post a video about spring interview questions
Sure 👍👍we will upload spring interview questions soon 👍👍
Thank you so much mam.
All these informations are really helpful.
Keep posting the videos 😊
Thanks Barsha 👍🙂
Awesome video, thanks for all your efforts, please make a video on all annotations.
Sure, will do that soon 👍👍
great explanation with clear examples. keep rocking
Thank you....
It covered really good stack of questions which are frequently asked in interviews..thanks mam for showing everything practically. I have one question, can we have both sql based and nosql based databases configured in spring boot, if yes, how we do it? Could you please help.
There are many databases like Redis, which is not an SQL, you can use that along with your any SQL based database. Another thing you can have multiple data sources in a single application, like a primary and secondary data sources.
Anyone else can correct me if I am wrong. Thankyou.
You are a "Java champion"
Not just java but all the java related technologies like spring hibernate etc
You are really doing a great job.
Requesting you Pl. Uploade other java related technologies interview questions and answers that you think you have missed and they are important
Special Thanks once again for this interview questions and answers series
🙏👍
Thanks Gokul 🙂. We are still in learning phase🙂🙂. You guys help us in understanding priorities n our day to day job in IT world helps us to cater these knowledge🙂🙂. Thanks for the nice world Gokul. It means a lot 🙏🙏
@@CodeDecode I have one suggestion ,
It would be really good if all the interview question which are mostly asked in real MNC interviews are subject wise compiled together
and answers for all those interview questions (short,simple and easy to understand not to lengthy with graphics diagrams where ever required for e.g. you have explained how the garbage collection happens or done by JVM) and also with program/code snippet where ever required and if you organised it in well structured manner and create a "Book" author by you and give some nice title
Say for e.g. "Career with Java"
And bring in to market belive me it would be of great successfull book
It should contain only java and related technologies which are like must for a "Java full stack developer"
Let's devide the java and technologies in to 3 tiers
1) UI or Front end/ presentation tier
2) Middle tier/ Business logic tier
3) Back end or database tier
Some of the technologies which
I know required for a full stack developer are as follows
1) UI or Front end/ presentation tier
HTML,CSS,JSP,JavaScript, JQuery, Ajax.
2) Middle tier/ Business logic tier
Core-java (up to java 15/16),
Advance java JDBC etc
servlet-JSP,
Struts framework
Struts1.3/Struts 2.x
Spring framework CORE,MVC,AOP,ORM,Annotatios,
JDBCTemplate,Spring-Hibernate integration,Spring Boot, Spring Cloud
3) Back end or database tier
Hibernate interview questions
RDBMS, SQL and PL-SQL
Web services
REST-Web Services
SOAP Web Services
Design Patterns 7-8 most commonly used
Some VCS interview questions and answers
SVN and GIT etc
"Career with Java"
(mostly asked in real MNC interviews) like for e.g. top 10 or top 20 questions including advance topics with program/code snippet
The book should be precisely composed like if around 20 technologies I have mentioned
If top 10 QAs covered the
Total 200 QAs
If top 20 QAs are covered then
Total 400 question answers
Some of the technologies may not required 20QA Like SVN GIT
And some may required more than 20QAs like CORE JAVA and spring framework.
Total book size should be within 100 to 150 pages
And price also should not be very high say for e.g for 100 pages book rs 100 and if pages are more then should increase the price accordingly
Let's say
For 150 Pages book
Price is Rs150
And if 1million copies are sold
10,00,000X150
15,00,00,000 will be total sale and
Publisher can give handsome return out of it around 20℅ I think minimum
It's just a suggestion but can be doable think about it.
Really helpful videos, Thanks a lot for such a thorough explaination🙂
Thanks Satyam 🙂👍
Big salute to you for creating wonderful content 🙏🙏🙏
Thanks for the nice words avinash
Its help full for me , Thanks for your effort
Thanks for writing back to us. 🙏👍
Nice video series ... thanks ...
Software Engineers != Normal Humans :)
🤓
It is very useful. Please create 2nd part of it.
This is the second part of this video :
th-cam.com/video/RZNV9hi7a8w/w-d-xo.html
Well explained the key points. Thanks for sharing
👍👍
Your videos are better than simplilearn , thanks a lot !!!
Thanks a lot
Thanks it's useful. Please create second part. Also show uses of application.yml and difference between property file vs yml.
Sure will upload second part soon
th-cam.com/video/RZNV9hi7a8w/w-d-xo.html
This is second part. I have covered yaml part 2 that you needed is to cover
Very Nicely and Clearly Explained. SUBSCRIBED. Please make microservices videos. Thanks for sharing your knowledge with us
Sure. It's in queue. We will upload that soon. Thanks for the suggestion, 👍👍
Superbb explanation...
Thanks Syed 🙂👍
Thank you so much for this video. I have a question on last video like how system will know that we write spring.active.profies=prod then it will take from the -prod file name what if I give the property file name as "prodd" or something else
System reads your application.properties file. While reading when it finds that you have overriden spring.active.profiles property , then it will know that you have different configurations for different environments. And what ever parameters you pass as a value to this property say xyz, it will then search for application-xyz.property file in your class path. If it finds that, it will load all required properties from there. If no such file or present in your path then it will give you error.
Really superb 👌👌👌. Please make the second part as soon as possible.
Sure will upload soon
th-cam.com/video/RZNV9hi7a8w/w-d-xo.html
This is what you require. Link to second part of the video
Very nice explanation. Thank you!
You are welcome!
You do a great job of posting a good video and responding to a comment. On top of it, you even follow up with the person for your clarifications. Great
Keep going. God bless.
Thanks for motivating. It means a lot Raghavan 👍
This was very helpful.Thanks alot
Thanks Reshma 👍👍
This is really really helpful.. you have explained each topic in a very simple way . Thanks a lot !!
Thank you.......
awesome explanation .Very helpful
Thanks 👍
Hello Madam, Great explanation Thank You
Thanks 👍
It was very helpful.please share more videos
Sure. Will upload more videos. Please stay tuned
you are an awesome teacher!
Thanks Mukund