春天,休眠,Java EE的在3层架构 [英] Spring, Hibernate, Java EE in the 3 Tier architecture

查看:113
本文介绍了春天,休眠,Java EE的在3层架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要得到一个开始以这里我把在3层架构这些技术:
这是我有...

I need to get a start as to where I put those technologies in the 3 Tier architecture: This is what I have...


  • presentation层:HTML,JSP

  • presentation layer: HTML, JSP

应用程序。层:Java EE中,春

app. layer: Java EE, Spring

数据访问层:休眠,PostgreSQL数据库

data access layer: Hibernate, PostgreSQL database

推荐答案

是的,我愿意把Hibernate的数据访问层英寸事实上第三层是数据层,而不是数据访问层,也许这会造成困惑。所以,一切的相关业务逻辑进入应用程序(或业务)层。

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.

这篇关于春天,休眠,Java EE的在3层架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆