检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]咸阳师范学院信息工程学院,陕西咸阳712000
出 处:《自动化技术与应用》2016年第2期48-52,共5页Techniques of Automation and Applications
基 金:咸阳师范学院专项科研基金项目(编号14XSYK038)
摘 要:传统Java Web开发存在着分层不明确、系统耦合度高、业务逻辑与JDBC混为一体等缺点,针对上述问题提出集成Struts2与Hibernate框架进行Web开发的方案。按照分层开发的思想降低层与层之间的耦合度,利用Struts2完成系统的控制逻辑,利用DAO模式封装Hibernate完成业务实体对象与数据库表的ORM映射。将该方案应用于实验室管理系统的开发,详细描述了系统实现的主要过程与若干关键技术。通过实践表明:集成Struts2与Hibernate框架的Web应用具备开发的高效性、复用性和可扩展性。There are several shortcomings such as blurry tiers,high coupled system,logical business mingled with JDBC in the e xploitation of traditional Java Web, an approach with assembling Struts 2 and Hibernate structure is proposed to solve this problem.Declining the coupling between layers Struts 2 is used to complete the systematic logic, and DAO pattem packa- ging Hibemate is a good way to accomplish the reflection between practical business target and database.This plan may be a detailed discription about the mainly process and vital technology, if it is put into effect in the development of laboratory management system. The practice indicates that the Web application of assembling Slruts2 and Hibernate structure possesed the high efficiency, reusabolit y and scalability.
关 键 词:STRUTS2框架 HIBERNATE框架 分层开发 DAO模式 ORM映射 Web应用
分 类 号:TP319[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.70