Useful Links
Computer Science
Java Ecosystem
Spring Framework and Spring Boot
1. Introduction to the Spring Ecosystem
2. The Core Spring Framework
3. Aspect-Oriented Programming with Spring
4. Data Access and Transaction Management
5. Spring Model-View-Controller
6. Introduction to Spring Boot
7. Developing Applications with Spring Boot
8. Securing Applications with Spring Security
9. Testing in Spring and Spring Boot
10. Production-Ready Features
11. Advanced Topics and Ecosystem Integration
Spring Model-View-Controller
The MVC Design Pattern
Model Role
View Role
Controller Role
Benefits of MVC
The DispatcherServlet
Front Controller Pattern
Request Processing Lifecycle
Handler Mapping
Handler Adapter
View Resolution
Exception Resolution
Configuration
Web.xml Configuration
Java Configuration
Controller Layer
@Controller and @RestController
Differences and Use Cases
Request Mapping
@RequestMapping
Path Mapping
Method Mapping
Parameter Mapping
HTTP Method Specific Shortcuts
@GetMapping
@PostMapping
@PutMapping
@DeleteMapping
@PatchMapping
Handling Request Data
@RequestParam
@PathVariable
@RequestBody
@RequestHeader
@ModelAttribute
@CookieValue
Response Handling
Returning Views
Returning Data
ResponseEntity
@ResponseBody
Model Layer
The Model Interface
Adding Attributes
ModelAndView Class
Combining Model and View
ModelMap Class
@ModelAttribute Methods
View Layer
View Resolution
View Name Resolution
ViewResolver Interface
InternalResourceViewResolver
BeanNameViewResolver
Custom ViewResolvers
Common View Technologies
Thymeleaf
JSP and JSTL
FreeMarker
Velocity
Handling Exceptions
@ExceptionHandler
Local Exception Handling
@ControllerAdvice
Global Exception Handling
HandlerExceptionResolver
Interceptors
HandlerInterceptor Interface
Configuration and Usage
File Upload
MultipartResolver
@RequestParam with MultipartFile
Content Negotiation
Accept Header Processing
Content Type Resolution
Previous
4. Data Access and Transaction Management
Go to top
Next
6. Introduction to Spring Boot