Before you learn the difference between @Component, @Service, @Controller, and @Repository annotations in Spring framework, it's important to und…
Hutomo Sungkar
Earlier, I have explained to you about how Spring MVC works internally and how it process HTTP request coming to your web application. One of the imp…
If you have worked with Spring MVC then you should know what is a DispatcherServlet? It's actually the heart of Spring MVC, precisely the C of MV…
What is the difference between @Autowired and @Inject annotation in Spring is one of the frequently asked Spring questions on Java interviews? Since …
The Spring MVC framework, one of the most popular frameworks for developing a web application in Java world also provides several useful annotations …
The SecurityContext and SecurityContextHolder are two fundamental classes of Spring Security. The SecurityContext is used to store the details of the…
The LDAP authentication is one of the most popular authentication mechanism around the world for enterprise application and Active directory (an LD…
If you don't know, Spring security can limit the number of sessions a user can have in a Java web application. If you are developing a web appli…
Spring framework interview questions are on the rise on Java EE and core Java interviews Spring, which is obvious given Spring is the best framework …
Difference between @ContextConfiguration and @SpringApplicationConfiguration in Spring Boot Testing?
Even though both @ContextConfiguration and @SpringApplicationConfiguration annotations are used along with SpringJUnit4ClassRunner to specify how to …