Spring Framework
Features of Spring Framework
- Inversion of Control (IoC)
- Data Access
- MVC Framework
- Transaction Management
- Security
- Testing Support (Unit and integration testing)
- Internationalization and Localization
Spring Boot = Spring framework + Prebuilt Configuration + Embedded Servers
Different layers in Spring Boot Application
- Presentation Layer: This presents data to the users. It takes the request and forwards to the next layer
- Service layer: This has all business logic of the application. All the processing of the data is done here.
- Data Access Layer: This has all the repository classes and access the database.
Flow of data
Browser <-> controller <-> Service <-> Repository <-> Database