Java Mock Interview - Java interview questions and answers for experienced | Top Spring Boot QNA
HTML-код
- Опубликовано: 25 июн 2024
- This Live java mock interview contains a variety of Java interview questions from Java, JPA, Hibernate, Spring and Spring Boot. In this specific video we will discuss few of the most Asked interview questions in Spring Boot, Rest Webservices and JPA.
Candidate Info : Name: K R Lavanya RAMACHANDRAN
Profile: Java Developer
Years Of Experience: 6+
Work Location: USA
Keyskills: Java, Microservices, Spring, Spring Boot, Restful Webservices, Hibernate, JPA, Spring Data
Timestamp :
================
00:00:00 - Introduction
00:03:03 - Q1: What is a Marker interface in java ?
00:08:14 - Q2: Tell me 5 Spring Exceptions that you came across.
00:13:08 - Q3: Tell me 5 spring Annotations that you have used ? (Excluding the stereotype annotations)
00:16:30 - Q4: Is it required to write @Repository annotations in spring data JPA?
00:19:52 - Explain the Spring Data Project and the hierarchy ?
00:26:49 - Q5: Use of @NoRepositoryBean in spring boot ? Can we write @NoRepositoryBean on top of our Repositories interfaces ?
00:31:26 - Q6: What is a java config file and What is it' s limitations?
00:36:23 - How a CGLIB Proxy works with @Bean?
00:40:08 - Q7: @Component vs @Bean . What is the difference between creating a bean with @Bean and creating a bean with @Component ?
00:42:49 - Q8: What is a BeanFactoryPostProcessor?
00:46:13 - Q9: Bean Factory Post Processor Code walkthrough
00:56:38 - Q10: What do you mean by a @Transactional Annotation and explain the Transactional Propagation in spring?
01:00:21 - Transactional Propagation Explained !
01:07:55 - Q11: Update vs Merge | Difference between update and merge method in JPA / Hibernate?
01:12:23 - Q12: application.properties vs application.yaml , Which will load first ?
01:15:03 - Q13: How the dispatcher servlet is set up in a spring boot project?
01:16:21 - how the dispatcher servlet in spring boot gets auto-configured?
01:20:21 - Q14: How to create custom Java Exceptions?
01:20:52 - CompileTime Vs RunTime Exceptions . Checked vs Unchecked Exceptions in Java
01:21:30 - Q15: How will you handle exceptions in spring?
01:22:33 - Q16: Explain the need of a global exception handler in spring boot ?
01:23:28 - Q17: Difference between @ControllerAdvice and @RestControllerAdvice?
01:23:53 - Q18: How will you handle a Bad gateway exception when thrown from a rest client ?
01:25:57 - Q19: What is ThreadLocal in Java? Tell me a real time scenario if you have used it ever.
01:27:39 : Spring SecurityContext scope explained !
01:35:54 - Final Words
========
FREE :
Watch more interviews like this follow my "Java Interview prep" playlist:
• Java interview questio...
=========
Useful links :
Update Vs Merge walkthrough
• 4 Must Know Hibernate ...
Spring Security step by step
• Spring Security Course...
Exception Handling in spring mvc
• Spring MVC - Exception...
==========
Category :
Java Interview
Java interview questions and answers for experienced
spring interview questions
spring boot interview questions
java interview questions coding
Useful playlist :
spring core
www.youtube.com/watch?v=r2Q0J...
spring mvc
www.youtube.com/watch?v=zCHrZ...
spring mvc intermediate
www.youtube.com/watch?v=40YaL...
Spring JDBC
www.youtube.com/watch?v=5j_vh...
spring live project
www.youtube.com/watch?v=m_b_F...
For more free/paid courses visit
www.seleniumexpress.com
Email : seleniumexpress@gmail.com
Course Enquiry : info@seleniumexpress.com
FB: / seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
/ 18700. .
Follow me on Insta
/ selenium_ex...category :
Java interview questions and answers for experienced
spring interview questions
java interview questions coding
#javainterviewquestionsandanswers
#springbootinterviewquestions
Useful playlist :
spring core
www.youtube.com/watch?v=r2Q0J...
spring mvc
www.youtube.com/watch?v=zCHrZ...
spring mvc intermediate
www.youtube.com/watch?v=40YaL...
Spring JDBC
www.youtube.com/watch?v=5j_vh...
spring live project
www.youtube.com/watch?v=m_b_F...
For more free/paid courses visit
www.seleniumexpress.com
Email : seleniumexpress@gmail.com
FB: / seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
/ 18700. .
Follow me on Insta
/ selenium_ex. .
I have been in the Industry for many years and every year I see something new coming out. The presentation over here has been really nice. Especially the part where with the explanation the code is also demo'ed. Helps to recollect something forgotten. Well done guys.
Thank you, Ajay !
@@SeleniumExpress can you please take the Java + Springboot Mock interviews for freshers?
And:When there is a requirement to implement a interface without any specific functionality,marker interface can be used.. Abhilash sir, ur example was superb 👍
This lady is awesome. Wow. She is really a motivation to me...I wish I can answer questions flawlessly like this.
Power-packed of knowledge. Salute Abhilash and Lavanya.
It's big great session that was having huge amount of information in one and half hour video has presented to us and motivates to learn more and more which makes very simple and easier to be a professional and achieve the success and reach the goals that what we have pointed to achieve..
Such a Great and awesome work effort made by both of you and we are expecting one or more sessions like this to get the more knowledge like the way your explaining the questions and answers....👏👏👏👏👏👏👏👏👏👏👏👏
This us my first time on your channel...I really liked this setup where you not just ask questions but help viewers like me to understand the concepts better this shows your true motto is to spread knowledge and not just create video. Thanks again and wish you best luck.
You are awesome man, Thanks for taking efforts for the dev community around the globe
Amazing content! Can't wait for new series. Thanks a lot!
This video is very helpful for my preparation, thanks for uploading !
You are THE GURU of development ❤️
A brilliant interview to refresh spring knowledge
Ok the side by side coding as she answers is insane value. Great videos. Subbed
This is the best presentation i have ever seen by an Indian youtuber. Thanks for providing such a great content❤
Every Java developer should watch this video. Thank you Abhilash and lavanya for this video
Absolutely amazing 🎉🎉 thank you @Abhilash for such deep and in detail content 🙏
Huge Respect for this massive valuable content.
i have learned alot with these mock interview , wating for more mock interview , like AWS for java developer
Quality of interview , Demonstrating wile explaining is awesome.
Thanks for all your efforts. This really helps us.
Instantly subscribed. Quality content!
Very Informative !
Both of you have done a fabulous job, i can understand how much effort you have put to make such a wonderful and useful video with crystal clear explanation. I am impressed with the content. Keep it up. I will be looking forward to your future videos.
Perfect !! Loved every minute of it 👏👏
Great session. Thank you
Abhilash, Really nice, I can understand how much effort you have put to make such a useful video with clear explanation. Its motivates to learn more , Keep it up.
Amazing interview. Thankyou very much! Some questions and answers were very advanced, but it motivates me to keep learning. Thank you and God bless you! Regards from Russia! Tuesday, May 31st, 2022.
That is a nice video in terms of learning point of view, thank you 🙏 both of u actually, keep it up and we need more videos like this...
One of the best channels
Superb Abhilash...! Java developer community will be proud of you. Few Suggestions : 1) idea of doing animation is too good. That is helping a lot. Just feel like watching a movie.. 2) Please post more videos on spring boot microservices, docker, kubernetes. Thank you.
Interview questions and concepts explained are very good.. refreshed my knowledge and helped me Thanks !! Waiting for more mock interview sessions 💖
Thank you very much Sir, after watching your all mock interview videos. , today I have 6 companies offer letter in my hand.
The answers discussed @ 1:05:50 for transaction propagation levels NOT_SUPPORTED vs NEVER is wrong. For propagation level NEVER only throws exception when there is an active transaction. For NOT_SUPPORTED, If a current transaction exists, first Spring suspends it, and then the logic is executed without a transaction (non-transactional way)
Glad i read your comment.
@SeleniumExpress Please clarify is this right or wrong
Amazing sir ❤️ please make one more video!
The best mock interview ever!. Please do more interviews with her.
Lavanya is so intact... on point I wish I could have such a cool and clear trainer/mentor....☺️☺️
Very informative....
We want more videos like this, please do make...
Great
Marvellous.
The thing you pointed out about ThreadLocal I was just thinking the same when Lavanya was giving yhat example of keeping the authentication object inside the ThreadLocal :), Thanks for reclassification.
Great Explanation. Thank you so much Abhilash
Glad it helped, Anita ! 🤗
That's was awesome.. Now iam able to relate things easily.. Thank you 🤍
Really Nice Session
Awesome session
U are great abhilash thanks for these kind of interview sessions
Thank you for the kind words, Vaghii !
Awesome explanation bro..
good job, especially part when you show code on your screen, it helps to understand things better
Very helpful
Very clear explanation Lavanya
Great video, thanks a lot 😊
Appreciate Abhishek !
Problem with having a normal interface in place of a marker interface:
Our intention is just to provide metadata to the JRE. I assume you are mentioning the interface with abstract methods.
If we use the interface with abstract methods instead of a marker interface, we have to implement those methods in the class implementing it(Which is not our intention).
Please do more series like this 👍
Extraordinary Wrok sir
Very useful and helpful for anyone who is Java , Spring , Spring Boot ( Java Backend) developer. Thanks to you sir and entire team for the efforts. I am just wondering How are you creating / recording video? It's so convenient for the viewers. Lovely. !Thanks again!!
Her knowledge is really good.
Awesome 😊, this video is very helpful for us. Thanks ❤
Glad to hear, Vipin 😊
@@SeleniumExpress very nice this vedio is very helpful thankyou.. I would like to contact you regarding java preparation could you please provide your contact Abhi.
when i saw you were also giving coding example in videos while she was explaining i instantly subscribed
Thank you, krishna !
Really helpful
All these years I refrained from watching your videos as i thought this channel is mainly for Software Automation Testers as its name is Selenium Express but now I got to know that its not true. BTW good set of questions and explanations. Keep it up
Hi,
Excellent, Your all videos are helpful, Now related to Java mock interview videos are giving us more weapons.
I hope you will provide Java mock interview videos every Monday.
Thanks, Parmod !
Sure, I will try to add few more episodes to this series. The goal is to cover different questions which are frequently asked in Java interviews.
We use Swagger UI to provide certain functionality in microservices. Which bean we use? Swagger Context provider or Swagger Application Provide or Swagger Resources Provider
Thanks
@42:00 I would say @bean wont be added to context without @Configuration type of class...but @Component is bean that gets added to context automatically. Yes Bean has more control.
Hey lavanya...we worked in Cognizant in same project.
Thanks everyone for your efforts
Looks like .. I was in my college ...
I would like to see algorithms too from you guys :)
TQ
Thank you sir 👍👍
Thanks for making mock interview. It's very useful for everyone.nice work.
Still wonder who made you Software Programmer? You are a born teacher with astonishing talent of teaching complex concepts in easy way..i wish you were teaching in Oxford University!
Thanks for the great content! This is very useful
Very useful abhi
Thanks, Lakshmi 🤗
We use marker interface as normal but modifications in jvm is required
I really like the way you are teaching and its really helpful.Have you also created any video on thread concept.I am unable to find it.
We can achieve using a normal interface but since we will define methods in it. we need to override those methods in the class which implements that interface.
Hi Abilash , please make a playlist in collection framework.
very informative can we have some videos on websocket with stomps with any messaging queues???
Hi Abhilash it is very much helpful , Please Please create Microservice Interview Mock
Can spring container allows to autowire an interface using @Autowired annotation? Pls clarify
In Java 8,Interface can have default & static methods as well,so can we say that its breaking the statement which says an interface contains only abstract methods?
She memorized the answers well
Hello Abilash, can you make videos on topic Web Services(REST/SOAP)
like any blockbuster movie the climax part is too good... :)
@Abhilash I have used AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class); in main method but i also have controller how can i call the controller from here .
If i am using Springapplication.run(App.class, args) then error is thrown
hello sir, plss make a one video on how to manage interview phobia?
hello sir pls upload spring oauth and jwt full videos..i have completed your all spring security videos it was nice videos
Hi Abhilash, Interview recording is really great. Thanks a lot!! .I have one doubt in @Transaction(NOT _SUPPORTED ) and @Transactional(NEVER). I guess the NEVER will suspend the transaction if already exists and throw error. (You have explained this in your Transaction Management session). But in this interview session it was mentioned that NOT SUPPORTED will throw error. Please correct if I am wrong..
what is the package of her in usa any approximate pkg and how can we get selected for USA location?
I think you made a mistake with the @Transactional question. You said calling transactional method from a non-transactional method will create a new transaction, but it is not true. By default dynamic proxy doesn't support this. Both methods should be transactional. It is a self call.
Please provide one for fresher.
Hey ,as usual great content!
However , I have a doubt about @bean vs @component….you guys were discussing that we cant put conditions with @component….is it so??? I have seen many examples where condition is there at class level with@component….
Kindly help in clearing this doubt pls :(
@Component is a class level annotation where as @Bean is a method level annotation. And method name server as the Bean name.
@surbhi bansal, I join your question. I am using @ConditionalOn* properties over along with @Component
Lavanya from where you have learn all these things
At 40:08, Question 7 is not right, as we can add @Conditional over @Service, @Component, or even @Configuration annotated classes.
Great content for preparation but sounds a bit unrealistic to know everything by heart during a real interview, there are reference docs for a reason, we forget details.
Yeah .it is great video but even I felt that this is somewhat unrealistic that she knows even the insides such as spring.factories inside META-INF etc
I was thinking the same, maybe in their education culture they need to memorize a lot the details but for the day to day work is pointless, as you said, we have the documentation for a reason.
high quality video i loved it
spelling mistake in defination, instead😄 it would be definition, but really in depth session.
Have been working with Java Spring Boot in the industry for a year now. After listening to the interview I feel I am a noob. But my question is are these questions actually asked for Job Roles with Spring boot and Microservices ?
yes
Hi sir,
Please upload the videos some what fast
How you are technically this good Abhilash, I mean is it because of project work you have done in your earlier days or have u learnt personally on your own. Bcz most of the times we won't get end to end projects.
Sir we are waiting for spring boot videos
Yes
Me too
Please brother