针对传统的使用单一框架构建企业级应用存在结构复杂、扩展性和可维护性差的问题,以山西煤炭纠察队系统为例,分析了在J2EE的B/S架构下,MVC模式的两个开源框架hiber-nate和struts整合设计,其中struts作为表示层和业务层框架,hibernate作为数据层框架。利用XML技术标准配置灵活使用这两种框架,简化了对象持久化映射工作和开发中的分工,使得项目开发结构清晰,具备强大扩展性和可维护性。
There are some problems of bad extendable,bad maintainable and complex structure in the traditional enterprise level application which uses sole frame constructs.Shan Xi coal disciplinary investigators system is under the J2EE B/S overhead construction,used MVC pattern two open source frame hibernate and struts,struts took the expression level and the service level frame, hibernate took the data level frame.This system also uses the XML technical standard disposition and nimbly uses the two kinds of frames,...