readme improvements re: layering

This commit is contained in:
Jonathan Halterman 2014-03-28 21:28:48 -07:00
parent 7a9a9fae26
commit 2eaad7a44b
1 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ java -jar target/mon-api.jar server config-file.yml
### Architectural layers
Requests flow through the following architectural layers from top to bottom:
* Resource
* Serves as the entrypoint into the service.
* Responsible for handling web service requests, and performing structural request validation.
@ -22,6 +24,6 @@ java -jar target/mon-api.jar server config-file.yml
* Responsible for providing application level implementations for specific use cases.
* Domain
* Contains the technology agnostic core domain model and domain service definitions.
* Responsible for defining state transitions.
* Responsible for upholding invariants and defining state transitions.
* Infrastructure
* Contains technology specific implementations of domain services.