How many modules are there in Spring?
-
5
-
6
-
7
-
8
Spring Framework traditionally has 7 core modules: Core, Beans, Context, Expression Language, AOP, JDBC/ORM/TX (Data Access), and Web/MVC. The exact modularization has evolved with Spring Boot and newer versions, but 7 modules is the classic answer for Spring Framework architecture.
The classic (pre-Spring 3/4 modularization) Spring Framework architecture is commonly described as having 7 modules: Core Container, AOP (Aspect Oriented Programming), Data Access/Integration (DAO/ORM/JDBC), Web (MVC), Instrumentation, and Test — grouped into 7 well-known modules in most textbook diagrams of that era. This '7 modules' framing is the standard answer in most certification-prep materials, which is why 5, 6, and 8 are considered incorrect distractors relative to that canonical breakdown.