摘要
现有的利用JSP,Servlet和EJB开发基于J2EE企业应用系统存在着重用业务逻辑困难、开发维护效率低等缺陷。因此文中介绍了基于Struts和JDO的J2EE企业应用系统架构,此架构结合了Struts和JDO的优点,提高了开发效率,同时提高了系统的可维护性和可扩充性。Struts提供了一个优秀的MVC框架,分解商业逻辑、控制逻辑和表现逻辑的代码,提高了代码的可重用性和灵活性,便于组件式开发;JDO提供了面向对象的持久数据存储,弥补了EJB对面向对象编程的不足,提供了完全的面向对象支持。
There are limitations in software development based on J2EE with technique JSP,Servlet and EJB, such as difficulties in reuse of business logic and system maintainability. So this paper presents a realization of J2EE architecture that based on Struts framework and JDO, which can significantly improve the development efficiency, system maintainability and expansibility. Struts brings an excellent MVC framework, it separated code of business/control/display logic and aided in code re-usability and flexibility for components development. JDO supplies object persistence with object-oriented way, makes up lack ability of EJB in object-oriented programming, and supports complete object-oriented design.
出处
《微机发展》
2005年第7期81-83,共3页
Microcomputer Development