摘要
针对一类按业务流明确划分功能块、涉及持久性存储、以数据维护为主要实现、界面相对简单的中小型Web应用开发,文章讨论了扩展Struts与整合Hibernate形成新框架OME的方法。通过具体实例,分析了定义模型层组件、简化配置文件、扩展基础组件、集成持久化框架的实现过程和技术要点。新框架在保留原有基础框架各种特点的同时,支持按功能点划分职责,能为应用开发提供更大灵活性,给出了OME的应用示例、改进设想和风险告诫考量。
This paper discusses how to extend the Struts framework and integrate primary Hibernate to form a new framework aiming at a kind of middle-small applications, which mostly deal with persistent data, have clear module partitions and simple JSP interfaces. With an example OME, the paper analyzes its realization process and technique keys including creating model components, simplifying configuration, extending basic components of struts, integrating persistent framework Hibernate. OME not only keeps MVC advantages of Struts but aIso supports a new developing manner, that is, every team member plays three roles in an individual module. The paper gives an application sample, further improving scheme and risk.
出处
《计算机工程》
EI
CAS
CSCD
北大核心
2006年第17期144-146,共3页
Computer Engineering
基金
陕西省教育厅产业化培育项目(02jc39)
关键词
框架
扩展
整合
反向控制
热点
Framework
Extend
Integration
Inversion of control
Hot spot
作者简介
李扬(1979-),女,硕士,主研方向:软件复用技术;E-mail:graceliyang@21cn.com
马光思,教授.