文档介绍:电脑编程技巧与维护
Struts 框架技术在管理系统中的应用改进
刘红梅
(湖南铁道职业技术学院信息工程系,株洲 412001)
摘要: 以开发“人力资源管理系统”为契机,对框架及组件技术在分布式软件开发过程中的应用作了有益的探
索,以 Struts 框架为构建整个软件系统的核心框架,采用基于 MVC 设计模式的 Struts 框架,使得页面和代码实现了
分离,既保证了系统的稳定,也大大节约了开发时间,提高了开发的效率。
关键词: 人力资源管理系统;Struts 框架;基于 MVC 设计模式;页面代码分离
Application and Improved of Struts Framework Technology in the
Management System
LIU Hongmei
(Hunan Railway Professional Technology College ,Zhuzhou 412001)
Abstract:This article to the development of "human resources management system", chance for the framework po-
nent technology in a distributed software development process as a useful application, struts framework to search for the es-
tablishment of the software system to the core of the mvc framework is based on design patterns of struts framework has
achieved the separation of code pages and ensures the stability of the system at the same time, the development of economy,
improving the efficiency.
Key words:Human resources management system ; Struts framework ; Based on MVC design pattern ; Page code separation
1 引言显得有些力不从心。同时,很多与前台表单相关的 Form Bean
在部署的时候,往往要与一定的前台网页相关联,调用相关
作为最早采用 MVC 设计模式的软件框架,Struts 也经历
的命令都嵌在页面中,这样也不利于开发中的逻
了由 到 的发展历程。其功能组件也不断地进一步完善 JavaBean Jsp
辑分离实际上也并不很符合的设计模式在开发小型
和提高。作为软件框架技术本身也是开放的,允许不同的使。 MVC 。
系统的时候这种弊端还并不是马上显现出来,但是在构建大
用者和开发者对其提出改进意见和方法。这样就使其不断完
型的业务逻辑比较复杂的,同时又要求扩展性好的系统的
善,以适应不同类型软件的