How cbtpro/action-in-spring works
Action in Spring is a Maven multi-module project for practicing Spring, with sample web interfaces and a separate multi-data-source example. The documented user workflow is a client requesting the sample HTTP endpoint; the README also documents that action-web depends on action-common. The datasource module’s MyBatis, JPA, and dynamic-routing capabilities are preserved as a subsystem. Source excerpts were unavailable, so the graph avoids inferring internal calls or database connections; the WAR demo is shown without an assumed relationship.
Main entry points: ActionInSpringApplication.java Web application · PracticeController.java Practice API · PracticeMessageService.java Common service
Components 6
Web examples
- Web application
action-web/src/main/java/com/example/actioninspring/web/ActionInSpringApplication.java - Practice API
action-web/src/main/java/com/example/actioninspring/web/controller/PracticeController.java - WAR demo
action-war-demo/src/main/java/com/example/actioninspring/war/controller/DeployInfoController.java
Shared code
- Common service
action-common/src/main/java/com/example/actioninspring/common/PracticeMessageService.java
Data source example
- Multi-source demo
multi-data-source
Other components
- HTTP client
Connections 2
- HTTP client → Practice API: requests
README.md - Web application → Common service: depends on
README.md