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

J2EE软件开发模式探讨
引用本文:陆焱. J2EE软件开发模式探讨[J]. 数字社区&智能家居, 2008, 3(9): 1464-1466
作者姓名:陆焱
作者单位:[1]荆楚理工学院计算机学院,湖北荆门448000 [2]武汉理工大学计算机学院,湖北武汉430070
摘    要:J2EE即Java2平台的企业版(J2EE,lava 2 Enterprise Edition),它是一种利用lava2平台来简化企业解决方案的开发、部署和管理相关的复杂问题的体系结构。J2EE平台使用多层分布式应用程序模型,力求根据功能的不同把应用程序逻辑划分成各个组件.常用的方式是用JSP/Servlet+IavaBeans的方式来处理表示层和业务层逻辑,但是,这种方式往往存在着层与层之间逻辑不清楚、表示同应用逻辑混合的缺点,使得开发过程中分工不明确,也不利于系统今后的维护,以及扩充。MVC结构是一种用来分离出数据维护和数据表现的方式,在J2EE中引入MVC框架,有助于把应用分成合理的组件,以方便开发、维护、扩充。该文介绍了模型-视图-控制器(MVC)模式在12EE体系结构中的应用,使得12EE应用的业务层与表现层相互独立.系统结构清晰.便于开发与维护。

关 键 词:J2EE  模式  MVC  JSP

The Discussion of J2EE Software Development Pattern
LU Yan. The Discussion of J2EE Software Development Pattern[J]. Digital Community & Smart Home, 2008, 3(9): 1464-1466
Authors:LU Yan
Affiliation:LU Yan (1. Jingchu University of Technology, Jingrnen 448000, China;2.Wuhan University of Technology, Wuhan 430070, China)
Abstract:Summary J2EE is the enterprise edition of Java2 platform (J2EE, Java 2 Enterprise Edition), it whether one make use of Java 2 platform and simplify enterprise development,complicated system structure of problem that arrangement correlated with management of solution. J2EE platform use multilevel distributed application program model, make every effort according to function with dividing the logic of the application program into each package, Commonly used way to come and deal with and express layer and business one layer of logic with JSP/Servlet + JavaBeans. But way this have layer logic clear, show and use shortcoming that logic mix together with layer often, make in the course of developing dividing the work indeterminate, benefit maintaining in the future of system either, and expand. MVC structure whether one used for and isolate datum maintain and way that datum display, Lead MVC frame into among J2EE, help and divide using into the rational package, in order to develop, safeguard, expand. This text has introduced models-the view-the application in J2EE system structure of mode of the controller (MVC), make business layer and behave layer separate. The systematic structure is clear that J2EE use, it is easy to develop and safeguard.
Keywords:J2EE  model  MVC  JSP
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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