首页 | 本学科首页   官方微博 | 高级检索  
     

框架技术在Web系统开发中的应用
引用本文:黄华.框架技术在Web系统开发中的应用[J].微机发展,2005,15(5):77-79,113.
作者姓名:黄华
作者单位:河海大学计算机及信息工程学院 江苏南京210098
摘    要:Spring是近来出现的一个使用POJO(纯粹Java对象)、以控制倒置(IoC)原则和面向方面编程思想(AOP)为基础的轻量级J2EE开发框架。Hibemate是一个对象持久化工具,它通过其强大的O/R映射功能将Java对象同存放于关系数据库中的数据进行映射,避免了开发人员使用大量的SQL语句通过.JDBC的方式对数据库进行操作。文中划分了Web系统的层次,介绍了应用Spring框架负责进行业务层,及Hibernate框架进行持久层开发的一般步骤,最后介绍了这两个框架的整合方法。这样便于“解耦”代码,允许新的组件被添加进来,而且使代码易于维护,同时还能有效地提高开发效率。

关 键 词:Spring  Hibernate  持久层  业务层  域模式
文章编号:1005-3751(2005)05-0077-03

Application of Framework Technology in Web System Development
HUANG Hua.Application of Framework Technology in Web System Development[J].Microcomputer Development,2005,15(5):77-79,113.
Authors:HUANG Hua
Abstract:Recently,there is a lightweight framework called Spring that is based upon the theoretics of Ioc and AOP.It uses POJO to build the J2EE application. Hibernate is a persistence service that stores Java objects in relational databases with its powerful,high performance object/relational persistence function.Using it,the developers can avoid writing many SQL sentences to operate the database through JDBC.First,the paper separates the Web application.Then introduces how to develop the business and persistence layer using Spring,Hibernate framework.At last,this paper explains the way to integrate with them. Doing this will decouple your code,allow new code components to be added,and make your application more maintainable. At the same time it can improve the development efficiency evidently.
Keywords:Spring  Hibernate  persistence layer  business layer  domain model
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号