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

开发基于Struts框架的J2EE多层应用
引用本文:袁丽萍,王志坚,吴小丹.开发基于Struts框架的J2EE多层应用[J].微机发展,2005,15(5):14-17.
作者姓名:袁丽萍  王志坚  吴小丹
作者单位:河海大学计算机及信息工程学院 江苏南京210098 (袁丽萍,王志坚),河海大学计算机及信息工程学院 江苏南京210098(吴小丹)
基金项目:国家973计划项目(2002CB312002)
摘    要:在J2EE应用中,使用层架构已经非常普遍。Struts是实现MVC模型最成熟的框架,它与J2EE常常同时使用。应该从J2EE体系结构的角度,充分考虑使用Struts框架的特殊性,考虑结合Struts和J2EE体系结构过程中的性能和伸缩性问题。充分认识Struts框架中组件的功能和层次,以及Struts框架层在整个系统架构中的层次,是开发具有健壮性和可扩展性系统的基础。文中讨论了如何开发基于Struts的J2EE多层应用,从软件层次结构的角度考虑了在此过程中应该注意的问题,包括Struts的Action与Model、值对象与ActionFormBean以及伸缩性和性能问题。使用J2EE模式来解决这些问题,并运用到实际项目中,取得了较好的效果。

关 键 词:Struts框架  J2EE五层体系结构  耦合  性能  伸缩性  J2EE模式
文章编号:1005-3751(2005)05-0014-04
修稿时间:2004年8月7日

Developing J2EE Hierarchical Application Based on Struts Framework
YUAN Li-ping,WANG Zhi-jian,WU Xiao-dan.Developing J2EE Hierarchical Application Based on Struts Framework[J].Microcomputer Development,2005,15(5):14-17.
Authors:YUAN Li-ping  WANG Zhi-jian  WU Xiao-dan
Abstract:It's popular to develop J2EE applications with tiers architecture.And Struts is the most full-blown framework realizing MVC model.Both are often used together.It should fully take account of speciality of using Struts framework,performance and scalability joining Struts and J2EE,from the point of J2EE architecture.It's the basis of developing a robust and scalable system to fully understand the function and architecture of kits in Struts framework,and layer of Struts framework in a whole system.This article has discussed how to develop J2EE hierarchical applications based on Struts framework, and from the point of software layers thought over problems in the process of developing applications,including Action and Model of Struts, value objects and ActionForm Bean,and the problem of scalability and performance as well.It has solved these problems using J2EE patterns,and the results are used in practical projects effectively.
Keywords:Struts framework  J2EE 5-tiers architecture  couple  performance  scalability  J2EE patterns
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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