摘要
为有效提高Java技术在企业应用中的开发效率,缩短开发周期,减少开发成本,通过研究Ajax,Struts,Hibernate和Spring 4个开源框架的机制,依据MVC(Model-View-Controller)设计模式的基本思想,提出一种基于Ajax,Struts,Hibernate和Spring的J2EE(Java 2 Platform Enterprise Edition)应用开发策略。并阐述了将4者结合起来构建一个开发高效、运行稳定、维护简单、便于移植、易于扩展的J2EE分层架构,同时给出该架构的结构图,分析其优势及不足,并通过一个已经成功运营的在线学习系统给出了该架构的具体实现。实用结果表明,该分层架构具有良好的可移植性、可扩展性和可维护性,降低了应用程序的复杂性和耦合度,提高了开发效率。
To improve effectively developing efficiency of Java technology, shorten developing periods, reduce developing cost in the enterprise application, the mechanism of four open-source frameworks of Ajax, Struts, Hi- bernate and Spring are introduced. According to basic ideology of MVC (Model-View-Controller) model, a de- veloping strategy of J2EE (Java 2 Platform Enterprise Edition) application based on the four frameworks is ad- vanced. How to use the four frameworks together more efficiently in building a high efficient developed, steady runned, straightforward maintenance, convenient for transplanted and easy expanded J2EE framework, the pic- ture of this framework is given, and the advantages and disadvantages are analyzed. The online learning system, which is put in use successfully and based on the framework is realized. The application result indicated that the framework has the outstanding portability, extension and maintenance, reduces the complexity and coupling de- gree of application, improve the developing efficiency.
出处
《吉林大学学报(信息科学版)》
CAS
2011年第6期576-584,共9页
Journal of Jilin University(Information Science Edition)