节点文献
基于Tapestry+Spring+Hibernate框架的Web应用
Web Application Based on Tapestry+Spring+Hibernate Framework
【摘要】 Web应用程序可以分为表示层、业务层、持久层和领域模型层。按照这种分层结构,分别介绍了Tapestry,Spring和Hibernate三种开源框架。Tapestry使得程序具有一致性的结构,通过开发Tapestry组件,增强了代码的复用和程序的健壮性;Spring实现了业务层和表现层的分离;Hibernate大幅度减少开发时人工使用SQL和JDBC处理数据的时间。结合项目实例介绍了如何整合这三种框架构建Web的应用。应用这种整合框架,可以使系统层次清晰,并实现了层之间的解耦,各层之间可以独立开发,极大地提高了开发效率。
【Abstract】 Web application can be divided into presentation layer,business layer,persistence layer and domain model layer.According to such layered structure three open source frameworks,Tapestry,Spring and Hibernate,are briefly introduced in this paper.Tapestry makes program have consistent structure,and by developing Tapestry component the reuse of code and robustness of program are enhanced.Spring realizes the separation of business layer and presentation layer.Hibernate greatly reduces time of using SQL and JDBC to process data.Finally,an example is given to introduce how to integrate the three frameworks to develop Web application.With this integrated framework,it makes the layers of application clear and decouples them.Different layer can be developed respectively,which largely improve the efficiency of software development.
- 【文献出处】 计算机技术与发展 ,Computer Technology and Development , 编辑部邮箱 ,2007年04期
- 【分类号】TP311.52
- 【被引频次】20
- 【下载频次】175