Это видео недоступно.
Сожалеем об этом.
Spring Boot Interview Questions And Answer | Spring Boot Interview Question Part 2 | Code Decode
HTML-код
- Опубликовано: 14 авг 2024
- In this video of code decode Spring Boot Interview Questions And Answer for experienced and fresher we have covered some frequently asked spring boot interview questions and answers
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/u...
Course Description Video :
yt.openinapp.c...
Spring Boot Interview Questions And Answers || Spring Boot Tricky Interview Questions [MOST ASKED]
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 questions and answers contains Top basic important spring boot interview questions and answers with a Live Demo.
Part 2 here contains a live demo and code base for multiple interview questions like :
Spring boot interview questions for experienced includes these imp questions
What is Spring Actuator? What are its advantages?
An actuator is a manufacturing term that refers to a mechanical device for moving or controlling something. Actuators can generate a large amount of motion from a small change.
In Spring boot whenever something goes wrong we need to debug and go through logs to see the issue.
Using Spring Actuator, you can access those flows like what bean is created, what is the CPU usage. And many more features.
By Default Exposed HTTP endpoints can be seen at
localhost:8090/actuator/httptrace.
How to create custom Endpoints -?
This can be achieved by adding the following annotations:
@Endpoint and @Component to class
@ReadOperation, @WriteOperation, or @DeleteOperation on method-level
@ReadOperation maps to HTTP GET
@WriteOperation maps to HTTP POST
@DeleteOperation maps to HTTP DELETE
This end point Displays HTTP trace information (by default, the last 100 HTTP request-response exchanges). Requires an HttpTraceRepository bean.
YAML and properties file difference and why to use YAML over properties file is also covered in this video.
-------------------------------------------------------------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------------------------------------------------------------
#codedecode #springBootInterviewQuestions #SpringBoot
Thank you so much for creating SB videos.. I just cleared my first round just by watching your videos...Request you to upload more Spring Boot interview questions of advanced level...Really appreciate your efforts in making these videos...Thanks a lot!!!
Thanks for the nice words Geetha. Sure will upload advanced level videos soon 🙂. All the best for your interviews, hope you land at your dream job soon 👍👍
@@CodeDecode Thank you:)
@@geetha9663 Hey can you please let me know where you have applied. Being a fresher I am also looking for a job. Please help me(hell.ozee22@gmail.com). Many Thanks.
@@CodeDecode : do you have videos in udemy?
Yes@@abhirb12
00:22 What is Spring Actuator? What are its advantages?
02:32 How to use Actuator in Spring boot application
06:32 07:29 09:09 09:49 Actuator Endpoints
11:29 16:09 16:39 16:50 17:30 18:55 21:49 Enabling HTTP Trace
21:54 24:34 How to create custom Endpoints
25:59 Steps to deploy Spring Boot web applications as JAR and WAR files?
Thanks Saravanan 🙂
HI, reading from YAML does not require extra configuration
Hello Madam, I have a doubt regarding the explanation of the Advantages of YAML files over the properties files. You have added two annotations @ConfigurationProperties and @PropertySource. Without these annotations also, we can inject property value from application.yml, right?
Your videos of SpringBoot interview questions are super helpful for someone new to the field like me. I am learning many new things specially when you show implementation/coding part.
Thanks!
To the woman behind these efforts,
Thank you so much 🙏
Thanks🙏 Akash. It means a lot 🙂🙂
This is a very super content video for fresher and experienced as well. it is helping a lot to everyone .
Please make any new videos related to interview questions on spring boot.
Thanks a lot again.🙂
Sure Kanika. We will do that 🙂🙂👍👍
Great and Thank you. Informative and Practical
Thanks
Really it's great content and it's very useful thank you Mam
Thanks Joseph 🙂👍
Best video I have found in youtube today, I have an interview with UHG tomorrow 3rd technical round, thank you very you saved my time, I am confident enough to answer springboot related questions
All the very best kasi from team code decode. We hope u land at your dream job soon. Keep learning keep shining ⭐✨. All the very best 👍💯.
@@CodeDecode thank you very much
Amazing and absolutely real time interview questions. I loved it. Thank you for making such highly informative videos.
First of all thank you very much for sharing knowledge and these are very helpful as well. But i have a doubt mam like is yaml file configuration is mandatory for spring boot starter parent 2.2 above Version? And if we remove application.properties and keeping only application.yml then i think that configuration not necessary? Or do we need to add that yamlfactorybean still?
I have also same doubt , because I have used .yaml file without any configuration
Please continue this interview questions series 🙏
It helps alot to aspirants..
Sure 👍
After watching part1 got full interest and now after part2 wanted to share it to all my friends to promote this. Again thank you so much excellent voice.
Thanks a lot Sekhar. It means a lot 🙏👍👍
You doing superb! you dont know how much its helpful for people who are new as well as working! you clear concept from scratch. Followed this channel just cz of you! Thanks a lot!! Keep teaching and learning also 🤗
Thanks Dimple for the motivation. All the best for your future. We hope you reach highest in your life. 👍👍👍👍
Must watch to revise, Thank you Code Decode
Thanks piyush 👍👍
Excellent.. Very organized content..
Thanks 👍
I am big fan of you channel short knowledge and useful points
Thanks 👍
Superb mam... Nice explanation
Thanks 👍
Please do add more interview questions related to transactions,database and security in Spring boot.
Sure
Hi @codedecode can you please make video on multiple database configurations in spring boot application and how to identify which database is running at runtime?
Awesome.. yesterday only i was looking about actuators and u made my day with clean explanations.. thanks to you ...now i got clear picture..
M glad your got what you are looking for 👍👍
@@CodeDecode I saw ppt as part of ur video .. is there any way you arrange videos as per ppt either desc or asc...?
Please consider doing part 3 of this spring boot series...it is very helpful
Sure Sreeja, will do that soon 👍👍
Hi, I'm pretty new to the spring. The tutorials uploaded are quite good and helpful however could you please help with the tutorial or references for the spring as well the tools being used in the presentation.
Simply take 🙇♀️ madam👌👌👌
😀 thanks 👍
Excellent way of teaching in therotical and practical approach...Please upload more interview questions on realtime end to end project from development to production and maintenance process
Thanks Nagender, we have those videos, fulfilling your requirements
ruclips.net/p/PLyHJZXNdCXsdXxY8wupiLenux2Yafn1lN
Yes please make more such videos. Doing good job.
Thanks 👍
you are creating really good content and that too all latest things ...Please create Spring boot tutorial starting from basics .. it will definitely help people who knows Java and start learning spring boot .. because your teaching skills and explanations are way too awesome
Sure Rajesh we will do that 🙂👍
you made my day madam.. it is really appreciable..you are great !! Please make separate video for @annotations of SpringBoot and make more videos on springBoot Interview Q & Answer.
Thanks for the nice words. m glad you are making an effort to learn spring boot. There are 2 parts already and will create more soon. You can check the playlist for more videos on spring boot
Thank you so much for such type of videos. It is really helpful for everyone.
Thanks 🙏
This is awesome! please make a video on Spring transactions and JMS.
sure anjali we will make it soon....
I dont think we need to do any extra code to read yml file instead of property file, Spring boot does support both just fine be default.
Thanks Mam. That was fantastic. These were the questions that I was asked in my first round and I could clear it because of reading this. Thanks a lot. I owe you a big treat if I tend to meet you anytime
That's so nice of you Charan 🙃👍. Yes hopefully we will meet soon 👍👍
Many Congratulations on clearing your interview round 👍👍
Goat teacher ❤️
Thanks 😊😊
Please make vedio for microservices Interview questions
Sure
Thank you very much for the best video of the interview.
You're Welcome...
Nice video crisp and crystal clear 👍
Thanks Shakti 👍🙏
Great job!
Thanks Hua....
Your awesome... Very helful every videos❤❤
Thanks Sarath 👍👍🙂🙂
Thank you very much. Please make 3rd part also for spring boot interview questions
Sure we will create that soon ,Meanwhile you can check some interview Questions asked for written round of Spring boot
ruclips.net/p/PLyHJZXNdCXsebq3yfNKKObCx9lh8T1BBi
Great explanation, do you have the printable version on the power points on the video available for public ?
This is an awesome video, packed with the important concept of Spring boot. Could you please make 3rd video as well if possible?
Sure will upload that too soon
Good resource.. Thank you
👍👍🙂
Great efforts, thanks much for your crystal clear explanation 👍
You are Welcome...
Thank you so much Madam ❤.
You're welcome
great videos mam. please make video all the spring boot concepts.
Sure Vikas 👍👍
u r doing heart work mam keep it up this is helping me alot
Thanks 👍
Great content, Appreciate it.
Thanks Wahid 🙂👍
helpful video. Appreciate your work!
Thanks 👍
Hi Ma'm, Can you please upload more videos for spring Boot and Microservices interview question. Thank you very much for your great effort.
sure i am planning to upload them soon
Thankyou and appreciate your amazing work. I see your videos are very useful. Please do 3rd part on springboot please.
I Think microservices are also jumping into panal now. Can you try on it as well please. Thankyoy
Sure will upload videos on that too.
thank u so much, mam.. It is helping me a lot.... Keep doing
You are Welcome Surya....
Thanks Mam detail explanations. I can get the document or ppt to revise the answers before interviews.
It's in description below Hrushikesh 🙂👍
Thank u so much.please do video on @Qualifier, JDBC configuration(connecting application with DB)
Sure. This all I will cover with spring interview questions
TQ
WC
Nice Videos mam..:)
Thanks
Please also make a video on React Js interview question.
Will upload soon. 👍
Thank you so much. Your videos are really helping alot. One suggestion video clarity is missing. Can you take care of that.
Sure Kavitha, we have fixed that in next videos. Hope that might help. Nice observation. Thanks for letting us know 🙂🙂🙂🙂
If you remove application.properties file from classpath, spring boot only searches for the name starts with "application". So need for writing YamlPropertySource is not required. But yes great efforts by you.....
Thanks
🙂👍
Thank you so much 🙏🙏🙏
you're welcome
Hi..your contents are amazing..also can you please share the ppt if possible..it will help us to quickly recap everything
Thank you ma'am for these amazing videos.. I have a question.. doesn't actuator exposes really important info about server to normal user..? as it is directly accessible with just the url?
True Aarushi. You can use security config to hide it on prod env. 👍👍
east indian accent sounds so awesome with women. I love it.
🤪🤣
yes, continue the videos plz
sure we will create more on this
Regarding spring boot interview questions your doing gd job
Thanks 👍
Pls create vedio for how yml support for map nd list
Thank a ton great info
Thanks 👍
Can u create video on Spring boot in details and also how to use two different databases in spring boot
Sure, we will create a video on that 👍👍
Thank you so much mam
👍👍🙃🙃
mam can you please provide ppt of this videos. it will be a lot more helpful for revision after watching these videos. Amazing videos
Please create video for next part as well.
sure we will create one soon...
Will the applications developed be running as a standalone with out runtime container ? How can we deploy on the existing application server who has dedicated port numbers ?
This is really very helpful. Can you please create part-3 of this with more questions and answers ?
Sure Gayatri we will create it soon...
Can you show some realtime use of custom actuator
If you have your application deployed in production, how will you check if your api is up and running our not. That's where actuators come into picture
Please create video on collection and multi threading interview questions
Collection interview question is already created please refer below link : ruclips.net/video/KfoNYoVUBJI/видео.html
Excellent .. apart from too much restarts.. apply dev-tools :) If u are planning that as a video then pardon :)
Sure but Dev tools auto builds the application so Fast that it's difficult for me to prove viewers that it's changed only after I have coded that particular LOC( line of code)😝
Your explanation was good and I have a question about management.server.port, where your getting this property
It's an inbuilt property. We are just modifying it's value in properties file
Thank you for this video.
Please can you provide this ppt presentation via downloadable link.
So that we can make notes.
Can you please make a video on REST interview questions?
Sure Sindhura 👍👍
mam,
Your are given a important information about a S.B. Can plz cover the all the interview questions related to Spring boot.
thank you.
sure will cover maximum questions soon
Thank you for this video.
In one of the interview two questions asked. Could you please help me on that also
1) How the GC work with Spring boot.
2) How to create custom annotations with Spring boot.
Can u please make a video for actuator and custom endpoints and yaml please
Sure Uma. 🙂🙂👍👍
Mam can we get videos about springboot from the basics?
Hi Mam, please also make a video on Angular9 interview questions
Sure will upload soon
mam I am following your all videos All are awesome!!
I would request you if it is possible pls, can you send ppt/notes.
I have less experience in spring boot,Java, microservices but the interviewer asking me more experienced questions on Java, microservices and spring boot please give me suggestions and solution i am waiting for your reply
❤️
🙂
Hello, I am facing difficulty in answering a question every time : "How do you do error handling in Spring Boot." Do you have any videos on it? And Secondly, can I have some PPTs you have used - for quick reference before interviews?
ruclips.net/video/WH_d9Tw4CPs/видео.html
ruclips.net/video/hLlGAQ5NfTE/видео.html
These will help you with the same Abinash. All the very best 👍👍
@@CodeDecode - Thank you so much for the quick response.
Any time Abinash 👍🙂
Hi CodeDecoder, First of all thanks for the efforts to the video , learned good concepts.
If we have 20 controllers and if we want to use properties from application.yml on all 20 controllers, do we have to add @propertysource annotation on all 20 controllers ?
no you just have to add in the main class, that's it
Can u please create 3rd video also
Sure 👍🙂
How spring boot profiles will change dynamically when we deploy application??
It's because of the property : spring.profiles. active , it's usually set in arguments of server like tomcat of that particular server. So if server is dev then this property is set as dev and hence in application, that property is picked up. If server is of prod then this property is set as prod in arguments of tomcat and hence prod property file is picked up by tomcat.
Is it clear now?
I am getting following error, though I have added the same code as shown. Can you please help.
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to bind properties under 'yaml' to com.first.controller.FirstSpringBootController:
Reason: Failed to bind properties under 'yaml' to com.first.controller.FirstSpringBootController
Action:
Update your application's configuration
Please use devtools, so that u dont need to stop and start the application again and again in ur videos
Seems you have lots of Dogs in your area. in All videos, i always hear some background noise. But all good. Nothing is bothering it. :)
Yeah really sorry about that. Even if I make videos at night still they are in onnn mode😃. Nothing much I am able do about it🙏
how can we start two instances of tomcat server for the same application in spring boot ?
Thank u so much for video to easy learning of spring boot framework.part 2 video is not cleared.
What is not clear please let me know so that I can clear that out to you
Content is not clear
if you could share your ppt, that would be great !
Can you please share the pdf with us which you are showing .
Hi Mam. Your videos are really good. Keep up the great work.👌 👏👏If possible can you share us the pot for fast reference before an interview. Thank you mam.