Enter Spring Boot REST
Understand RESTful web services and its architecture, which sits on top of Spring MVC.
(Draw a comparison with existing Spring MVC Flow Diagram)
1.1 Ref: Full Stack Overview.png
1.2 Refer to: REST Simplified
1.3 Diag: web app vs web service
1.4 Readme: RestController vs MVC Controller and Annotations.txt
1.5 Develop: the backend for Blog management for category resource (CRUD)
Create Spring Boot app: Using Spring Boot Starter Project (choose packaging as JAR).
Use same Spring Boot starters as earlier:
NO additional dependencies for view layer (i.e., no JSTL and no tomcat-embedded-jasper
dependencies in pom.xml
).
Copy application.properties
from earlier Spring Boot project
(Do not add view resolver-related properties).