摘要
基于J2EE三层体系结构的管理信息系统,先建立系统整体模型及其功能模块,并根据模块功能设计ActionForm和Action及其处理结果的JSP页面,同时配置struts-config.xml文件。在用户界面和数据处理已完全分离基础上,使用struts标记使页面中没有Java的脚本代码。再通过hibernate框架将数据库存储从服务层中分离,使用O/RMapping和JDO编写heibernate配置文件并获取连接池中连接的HibernatePlugin插件。
Application of three-layer system structure was based on J2EE in MIS. At first, the unitary model and its functional module were established. Then, according to the module function, the ActionForm, Action and JSP result page were designed. At the same time, the struts-config.xml document was configured. Based on separation of UI and data processing, the struts tags were used to mark page without java code. It could separate data's storage from service layer through hibernate framework through hibernate frame. The O/R Mapping and JDO were used to compile heibernate configuration document and obtain Hibernate plugin from connection pool.
出处
《兵工自动化》
2006年第10期23-24,共2页
Ordnance Industry Automation
关键词
J2EE
三层体系
管理信息系统
J2EE
Three-layer structure, MIS (management information system)