In order to improve the development efficiency,shorten the development cycle and reduce the development cost of Java technology in enterprise application,by researching Struts2 framework,JDBC protocol and Ajax asynchronous refresh mechanism,this paper proposes an enterprise Web development framework based on Struts2+Ajax+JDBC in accordance with the idea of MVC design pattern.According to the information release module of production statistics management system,it describes the implementation process of presentation layer,control layer,business logic layer and persistence layer in this architecture.Practice shows that the architecture has good portability,expansibility and maintainability,and it reduces the complexity and coupling of the application,and improves the development efficiency and user experience.%为提高Java技术在企业应用中的开发效率,缩短开发周期,减少开发成本,通过研究Struts2框架、JDBC协议以及Ajax异步刷新机制,依据MVC设计模式的思想,提出一种基于Struts2+Ajax+JDBC的企业级Web开发架构.通过某企业生产统计管理系统的信息发布模块,阐述了该架构中表示层、控制层、业务逻辑层和持久化层的实现过程.实践表明该架构具有良好的移植性、扩展性和维护性,降低了应用程序的复杂性和耦合度,提高了开发效率和用户体验.
展开▼