`
isiqi
  • 浏览: 16358763 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

关于SSH架构的设想

阅读更多

关于SSH架构的设想

目前流行的轻量级J2EE应用的架构比较一致,采用的技术也比较一致,通常使用Spring作为核心,向上整合MVC框架(Struts),向下整合ORM框架(Hibernate)。使用SpringIoC容器来管理各组件之间的依赖关系,同时用Spring的声明事务负责业务逻辑层的事务管理。

Spring可以很容易的实现AOP,还可以大大降低各业务组件之间的耦合度,对于业务经常变动的应用,是个不错的选择。

Struts易于使用,懂的人很多,这样的程序员很容易找到,不需要花费培训成本。

Hibernate使用简单,虽然在面对大吞吐量和复杂查询时效里不是很好,但是可以灵活使用,不得以的情况下,通过直接使用JDBC 也可以大幅提高性能。

但在固定的技术组合上,各公司及开发团队有依然可能存在小的变化。下面讨论根据本人的经验及公司实际情况而采取的架构策略:Anemia Domain Model

所谓Anemia Domain Object是指Domain类只是单纯的数据类POJO(Plain Old Java Object),不包含业务逻辑方法,即每个Domain类只包含基本的settergetter方法。所有的业务逻辑都由业务逻辑组件(ServiceBean)实现,这种Domain Object就是所谓的贫血(anemia)的Domain Object,采用这种Domain Object的架构即所谓的贫血模式。

在贫血模式下,业务逻辑对象封装了全部的业务逻辑方法,Web层仅与业务逻辑组件交互即可,无须访问底层的DAO对象。其分层非常清晰。Domain Object 并不具备领域对象的业务逻辑功能,仅仅是ORM框架持久化所需的POJO,仅是数据载体。这种模型容易理解,开发便捷,但所有的Domain Object并不是完整的Java对象,仅仅是一种类似struct的数据结构。

贫血模式存在如下缺点:

一、项目需要书写大量的贫血类,当然也可以借助某些工具(Hibernate有)自动生成。

二、 Domain Object的业务逻辑得不到体现。由于业务逻辑对象的复杂度大大增加,许多不应该由业务逻辑对象实现的业务逻辑方法,完全由业务逻辑对象实现,从而使业务逻辑对象的实现类变得相当臃肿。

三、很多直接、简单的CRUD(添删改查)操作需要经过业务逻辑层从DAO对象穿透到WEB层,代码虽然不多,但显得很繁琐、会降低性能及程序员生产率。

优点是:开发简单、分层清晰、架构明晰且不易混淆;所有的依赖都是单向依赖,解耦优秀。适合于整体水平不高的开发团队。

下面指出几个要特别注意的地方:

1、 DAO对象不应当出现在WEB层;

2、 对业务层对象的访问在ActionBean中得到,但在ActionBean中只能放一个业务层对象,即一个ActionBean对应一个ServiceBean,不能访问多个;并且尽量只调用ServiceBean的一个方法来完成业务层操作;

3、 一个业务层对象可以调用多个DAO对象,需要在4中控制DAO对象的事务处理;业务层对象尽量不要调用其他业务层对象(AOP对象除外,如log4j对象或者其他应用中自已定义的AOP);

4、 事务处理在业务逻辑层中,使用了Spring针对Hibernate3给出的HibernateTransactionManager,它提供了Hibernate的本地事务管理策略

<group id="_x0000_s1026" style="WIDTH: 6in; HEIGHT: 319.8pt; mso-position-horizontal-relative: char; mso-position-vertical-relative: line" coordsize="8640,6396" coordorigin="1800,3079" editas="canvas"><lock aspectratio="t" v:ext="edit"></lock><shapetype id="_x0000_t75" coordsize="21600,21600" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75"><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></path><lock aspectratio="t" v:ext="edit"></lock></shapetype><shape id="_x0000_s1027" style="LEFT: 1800px; WIDTH: 8640px; POSITION: absolute; TOP: 3079px; HEIGHT: 6396px" stroked="t" o:preferrelative="f" type="#_x0000_t75"><font size="3"><font face="Times New Roman"><fill o:detectmouseclick="t"></fill><stroke dashstyle="dash"></stroke><path o:connecttype="none" o:extrusionok="t"></path><lock v:ext="edit" text="t"></lock></font></font></shape><shapetype id="_x0000_t202" coordsize="21600,21600" path="m,l,21600r21600,l21600,xe" o:spt="202"><stroke joinstyle="miter"></stroke><path o:connecttype="rect" gradientshapeok="t"></path></shapetype><shape id="_x0000_s1028" style="LEFT: 2340px; WIDTH: 6120px; POSITION: absolute; TOP: 3391px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1028"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">界面(</span><span lang="EN-US"><font face="Times New Roman">JSP</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">)</span></font></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1029" style="LEFT: 3720px; WIDTH: 3420px; POSITION: absolute; TOP: 4483px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1029"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">控制器(</span><span lang="EN-US"><font face="Times New Roman">Struts</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">)</span></font></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1030" style="LEFT: 2820px; WIDTH: 1440px; POSITION: absolute; TOP: 5419px; HEIGHT: 624px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1030"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">业务逻辑</span><span lang="EN-US"><font face="Times New Roman">1</font></span></font></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1031" style="LEFT: 2820px; WIDTH: 900px; POSITION: absolute; TOP: 7291px; HEIGHT: 623px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1031"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">DAO1</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1032" style="LEFT: 4080px; WIDTH: 900px; POSITION: absolute; TOP: 7291px; HEIGHT: 623px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1032"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">DAO2</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1033" style="LEFT: 5340px; WIDTH: 901px; POSITION: absolute; TOP: 7291px; HEIGHT: 623px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1033"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">DAO3</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1034" style="LEFT: 6420px; WIDTH: 900px; POSITION: absolute; TOP: 7291px; HEIGHT: 623px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1034"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">DAO4</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1035" style="LEFT: 7500px; WIDTH: 900px; POSITION: absolute; TOP: 7291px; HEIGHT: 623px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1035"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">DAO5</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1036" style="LEFT: 4800px; WIDTH: 1441px; POSITION: absolute; TOP: 5419px; HEIGHT: 624px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1036"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">业务逻辑</span><span lang="EN-US"><font face="Times New Roman">2</font></span></font></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1037" style="LEFT: 6780px; WIDTH: 1441px; POSITION: absolute; TOP: 5419px; HEIGHT: 624px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1037"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">业务逻辑</span><span lang="EN-US"><font face="Times New Roman">3</font></span></font></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1038" style="LEFT: 2820px; WIDTH: 5580px; POSITION: absolute; TOP: 8539px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1038"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">数据库</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><line id="_x0000_s1039" style="POSITION: absolute" from="3180,7915" to="3181,8539"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1040" style="POSITION: absolute" from="4620,7915" to="4621,8539"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1041" style="POSITION: absolute" from="5700,7915" to="5701,8539"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1042" style="POSITION: absolute" from="6960,7915" to="6961,8539"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1043" style="POSITION: absolute" from="7860,7915" to="7861,8539"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1044" style="POSITION: absolute; flip: x" from="3180,6043" to="3540,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1045" style="POSITION: absolute" from="3540,6043" to="5881,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1046" style="POSITION: absolute; flip: x" from="4620,6043" to="5160,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1047" style="POSITION: absolute" from="5160,6043" to="5881,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1048" style="POSITION: absolute" from="7500,6043" to="7860,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1049" style="POSITION: absolute" from="5160,6043" to="6960,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1050" style="POSITION: absolute" from="5400,3859" to="5400,4483"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1051" style="POSITION: absolute; flip: y" from="5760,3859" to="5761,4483"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1052" style="POSITION: absolute; flip: x" from="3600,4951" to="4680,5419"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1053" style="POSITION: absolute" from="5400,4951" to="5401,5419"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1054" style="POSITION: absolute" from="6300,4951" to="7560,5419"><stroke endarrow="block"><font size="3"></font></stroke></line><shape id="_x0000_s1055" style="LEFT: 8250px; WIDTH: 1980px; POSITION: absolute; TOP: 4015px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1055"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><span lang="EN-US"><font face="Times New Roman" size="3">FormBean</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1056" style="LEFT: 8280px; WIDTH: 1980px; POSITION: absolute; TOP: 6355px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1056"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><span lang="EN-US"><font face="Times New Roman" size="3">DomainBean</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1057" style="LEFT: 8820px; WIDTH: 900px; POSITION: absolute; TOP: 5107px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1057"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">转换</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1058" style="LEFT: 8820px; WIDTH: 900px; POSITION: absolute; TOP: 7291px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1058"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">转换</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1059" style="LEFT: 8760px; WIDTH: 1260px; POSITION: absolute; TOP: 8383px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1059"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">关系表</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><line id="_x0000_s1060" style="POSITION: absolute" from="9180,4483" to="9181,5107"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1061" style="POSITION: absolute" from="9180,5575" to="9181,6355"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1062" style="POSITION: absolute" from="9180,6823" to="9180,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1063" style="POSITION: absolute" from="9180,7759" to="9180,8383"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1064" style="POSITION: absolute; flip: y" from="9465,7759" to="9466,8383"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1065" style="POSITION: absolute; flip: y" from="9450,6823" to="9451,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1066" style="POSITION: absolute; flip: y" from="9360,5575" to="9361,6355"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1067" style="POSITION: absolute; flip: y" from="9360,4483" to="9361,5107"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1068" style="POSITION: absolute" from="1980,5419" to="2520,5419"><font size="3"></font></line><line id="_x0000_s1069" style="POSITION: absolute" from="1980,7915" to="2520,7915"><font size="3"></font></line><line id="_x0000_s1070" style="POSITION: absolute" from="2310,5419" to="2311,7915"><stroke endarrow="block" startarrow="block"><font size="3"></font></stroke></line><shape id="_x0000_s1071" style="LEFT: 1800px; WIDTH: 1080px; POSITION: absolute; TOP: 6355px; HEIGHT: 468px" type="#_x0000_t202"><textbox><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">Spring</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><wrap type="none"></wrap><anchorlock></anchorlock></group>

分享到:
评论

相关推荐

    SSH架构SSH架构

    SSH架构在IT行业中通常指的是Spring、Struts和Hibernate这三个开源框架的组合,它们分别是用于处理应用层、表现层和持久层的主流Java EE解决方案。在Java Web开发领域,SSH架构因其强大的功能和灵活性,被广泛应用于...

    SSH架构搭建,SSH架构,

    SSH架构,全称为Struts+Spring+Hibernate,是Java Web开发中的一个经典组合,用于构建高效、可扩展的web应用程序。SSH架构通过整合Struts的MVC设计模式、Spring的依赖注入(DI)和面向切面编程(AOP),以及...

    SSH架构jar包集

    SSH(Struts + Spring + Hibernate)是Java Web开发中一种常见的三层架构模式,它整合了Struts、Spring和Hibernate三个开源框架,以实现MVC(Model-View-Controller)设计模式,提供高效、灵活的企业级应用开发解决...

    人才招聘系统 java-SSH架构,JSP页面源码

    人才招聘系统 java-SSH架构,JSP页面源码,人才招聘系统 java-SSH架构,JSP页面源码,人才招聘系统 java-SSH架构,JSP页面源码,人才招聘系统 java-SSH架构,JSP页面源码,人才招聘系统 java-SSH架构,JSP页面源码,人才...

    java ssh 架构说明

    ### Java SSH架构详解 #### 一、Java SSH架构概述 Java SSH架构,即Struts + Spring + Hibernate(或MyBatis)的组合,是Java Web开发中非常流行的一种MVC框架模式。它将业务逻辑、数据访问、用户界面三者很好地...

    基于ssh架构简单的论坛系统

    SSH架构,全称为Struts+Spring+Hibernate,是Java Web开发中的一个经典组合,用于构建高效、可维护的Web应用程序。这个"基于SSH架构简单的论坛系统"是一个利用SSH框架技术实现的在线讨论平台,旨在提供用户交流思想...

    SSH架构融合实例

    SSH架构融合实例主要涉及到的是Java开发中的三种核心技术:Spring、Struts和Hibernate,这三者合称为SSH。SSH是企业级应用开发中的一个经典组合,主要用于构建基于Java的Web应用程序。 Spring框架是SSH架构的核心,...

    ssh架构实现登陆

    SSH架构中的每一个组件都有其特定的功能,共同协作以提供高效、模块化的开发环境。 Spring是这个框架的核心,它负责管理应用的业务逻辑和数据访问层。Spring通过依赖注入(Dependency Injection,DI)和面向切面...

    Java开发框架:关于SSH架构的简单总结.mht

    Java开发框架:关于SSH架构的简单总结.mht

    基于SSH架构的培训机构教务系统源码+项目说明.zip

    基于SSH架构的培训机构教务系统源码+项目说明.zip基于SSH架构的培训机构教务系统源码+项目说明.zip基于SSH架构的培训机构教务系统源码+项目说明.zip基于SSH架构的培训机构教务系统源码+项目说明.zip基于SSH架构的...

    基于ssh架构的JAVAWEB开发实例

    标题 "基于ssh架构的JAVAWEB开发实例" 指的是使用Spring、Struts2.0和Hibernate3这三个框架构建的Java Web应用程序。SSH是一个常见的开源Java Web开发框架组合,其中Spring负责控制层和业务层的管理,Struts2.0处理...

    J2EE SSH 架构经典结合

    J2ee Struts,Spring Framework,Hibernate 经典结合,项目源码。控制层、数据层、业务层分层 架构经典搭配,学习、研究的好东西。

    SSH架构的论坛系统(BBS)

    SSH架构的论坛系统(BBS)是一个基于Java技术栈,使用Struts、Spring和Hibernate三大框架构建的在线讨论平台。SSH架构是Java企业级开发中常见的组合,它整合了MVC设计模式,提供了强大的数据持久化和事务管理能力。...

    ssh架构的项目ssh架构的项目

    SSH架构在IT行业中通常指的是Spring、Struts和Hibernate这三个开源框架的组合,它们分别是Spring用于控制层、Struts用于视图层以及Hibernate用于数据访问层。这个架构是Java Web开发中的一个经典组合,旨在提供一个...

    SSH架构测试代码

    SSH(Struts+Spring+Hibernate)是Java Web开发中一种常见的三层架构模式,它整合了Struts的MVC设计模式、Spring的依赖注入和事务管理以及Hibernate的对象关系映射工具,为开发者提供了一套高效、稳定的开发框架。...

    SSH架构的学生管理系统(附带数据库)

    SSH架构是一种广泛应用于Java Web开发中的技术框架,全称为Struts2、Spring和Hibernate的组合。这个学生管理系统基于SSH架构,结合了这三个组件的优势,提供了一个功能完善的后端解决方案,适用于教学和实践。 1. *...

    SSH架构的通用在线考试系统

    《SSH架构下的通用在线考试系统详解》 SSH(Struts + Spring + Hibernate)是一种常见的Java Web应用程序开发框架,因其灵活性、高效性和可扩展性而被广泛应用于构建各种类型的Web应用,其中包括在线考试系统。本...

Global site tag (gtag.js) - Google Analytics