Spring / Spring7 basics Interview questions
List the core modules of Spring Framework 7?
Spring Framework 7 is organized into a set of well-defined modules, and applications typically pull in only the ones they need.
- spring-core / spring-beans - the IoC container and dependency injection fundamentals
- spring-context - ApplicationContext, events, internationalization
- spring-aop - aspect-oriented programming support
- spring-web / spring-webmvc - servlet-based MVC and REST support, including DispatcherServlet
- spring-webflux - reactive, non-blocking web support
- spring-tx - transaction management abstractions
- spring-orm - integration with JPA and Hibernate
- spring-test - testing utilities such as MockMvc and RestTestClient
Spring Boot's starters map closely onto these modules, so choosing spring-boot-starter-webflux instead of spring-boot-starter-web, for example, is really choosing spring-webflux over spring-webmvc underneath.
More Related questions...