Presentation Layer:
User interface
Service layer:
Runs
transactions in terms of entity
objects
Data Access Layer: Uses
ORM to do basic DB
interactions
Entity Objects
•
Express data model
•
Carry data
•
Can be used various layers
•
Persisted by DB
The Pizza Shop: layers
Note: layers are not required by ORM,
they are just a good idea for such apps
30