Presentation Layer:
User interface
Service layer:
Runs transactions
using various domain objects
Data Access Layer: Uses
ORM
Domain/Entity Objects
•
Express data model
•
Carry data
•
Can be used various layers
•
Persisted by DB
•
Have business methods
belonging to core code
The Pizza Shop: layers refined
Domain layer: business logic of
domain objects
51