摘要
介绍目前在J2EE平台上应用日益广泛的三个开源框架Struts、Spring以及Hibernate,分析它们的技术特点,提出这三个框架整合的方案,用Struts实现视图和控制器层,Spring构建业务逻辑层,用Hibernate技术实现持久层,完成业务层和数据库层之间的交互。最后给出这三种框架的组合构筑的一般中小型Web应用系统的系统架构图。
This paper introduces three open source frameworks Struts, Spring and Hibernate, which are widely applied in J2EE platform, and analyzes their technical characters, and provides the three frameworks integration program in which Struts is used to realize view and controller layers, Spring is used to construct business logic layer, and Hibernate technology is used to realize persistence layer to complete the interaction between the database layer and the business layer. Finally, this paper shows the system architecture diagram of most small and medium Web application system using the three frameworks integration.
出处
《计算机与现代化》
2010年第5期99-101,共3页
Computer and Modernization