I need to get a start as to where I put those technologies in the 3 Tier architecture: This is what I have...
presentation layer: HTML, JSP
app. layer: Java EE, Spring
data access layer: Hibernate, PostgreSQL database
You are mixing Tier and Layer which makes things pretty confusing, especially for yourself! If your question is about layers, then ask a question about layers.
Anyway, let me try to clarify...
In a Three Tier architecture, the Tiers consist of:
And here are the typical layers of a multi layered application:
Hibernate would be part of the Data Access Layer (but PostgreSQL is part of the Physical Layer).
The Presentation, Service, Domain, Data Access Layers map to the Business Tier. The Physical Layer maps to the Data Tier.
Yes, I would put Hibernate in the data access layer. In fact the 3rd layer is the "Data layer" and not the data access layer, maybe this confuses you. So everything that's business logic related goes into the app (or business) layer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With