Spring Framework
- What is IoC (Inversion of Control)?
- What is AOP (Aspect-Oriented Programming)?
- What is dependency injection?
- What are the advantages and disadvantages of the Spring Framework?
- What is a loosely coupled application?
- What is a tightly coupled application?
- When using Autowire, what is the difference between
@Qualifier
and @Primary
?
- What are the types of dependency injection?
- What is the application context?
- What is a BeanFactory?
- How does
getBean()
work?
Spring MVC
- What is MVC (Model-View-Controller)?
- What is the project flow in MVC?
- What is a Front Controller?
- What is a DispatcherServlet?
- What is handler mapping?
- What is a view resolver?
- What configurations should be followed in your project?
- For XML-based configuration projects, what files should be created in XML?
- For annotation-based configuration projects, what files should be created?
- What configuration issues have you faced in your project, and how did you resolve them?
Spring Boot
- What is the difference between Spring and Spring Boot?
- What is Spring Cloud?
- How is a Spring project developed into a Spring Boot project?
- What are the features of Spring Boot?
- What annotations are used in your project?
- Provide a list of annotations used.
- What is Auto-Configuration?
- How does auto-configuration work internally?
- What is a web service?
- What is a microservice?
- What is a REST service?
- What is a SOAP service?
- What annotations are used or related to web services?
- What is the difference between WAR and JAR files?
- What is Maven?
- How is database connection handled in Java?
- How is Hibernate configured?
- How is Data JPA connection managed?
- What are HTTP methods?
- What are the HTTP status codes? Explain them.
- What is the difference between GET, POST, PUT, DELETE, and PATCH?
- How do you overwrite files in automatic configuration? Which files can be overwritten?
- How do you write a manual query?
- What is JPQL (Java Persistence Query Language)?
- JPQL vs Native Query: What's the difference?
- What is the association of table mapping between two tables?
Spring Security
- What is Spring Security?
- What is a session token?
- What is session storage?
- What is a reference token?
- How do you implement JWT Token and OAuth?
- Why are tokens not passed in the header, and what is the best method for handling token passing?
- How are cookies used to handle tokens?