摘 要
基于J2EE Struts的教学管理信息系统,其开发工作包括后台数据库的建立、中间件开发及页面程序的开发。为了提高开发和维护效率,确定基于J2EE Struts框架完成开发,java编译环境为Eclipse,数据库采用SQL Server2000,Web服务器采用Tomcat。
Struts实质上是在JSP Model2的基础上实现的一个MVC框架。使用Struts可以大大简化Web应用的开发过程、提高开发效率。论文介绍了Struts的开发过程和框架流程。
系统主要由七个子模块构成,本文介绍奖惩管理子系统的开发,这部分主要完成对学生奖励和惩罚信息的登记以及奖励和惩罚信息的查询。
通过本课题的研究,熟练掌握了Struts框架的开发流程,并基于该框架完成了一个子系统各部分功能模块的开发,所开发系统可以充分提高教学管理工作的质量与效率,使之更好地为广大师生服务。
关 键 词:J2EE、Struts、MVC、教学管理信息系统
Abstract
J2EE Struts-based management information system of teaching, the development work includes the establishment of database, middleware, program development and the development of the page. In order to improve the efficiency of development and maintenance to determine the completion of the development framework based on J2EE Struts, java compilation environment for Eclipse, a database using SQL Server2000, Web server with Tomcat.
Struts JSP Model2 is essentially based on the implementation of a MVC framework. Using the Struts Web application can greatly simplify the development process, improve development efficiency. This paper introduces the development process and framework Struts processes.
System mainly consists of seven sub-modules, this paper describes the development of incentive management subsystem, which some of the major rewards and punishments for students to complete the registration information and the reward and punishment information inquiries.
Through this research project, master of the Struts framework development process, and based on the framework to complete some of the features of a subsystem of the module development, the development system management can take to improve the teaching quality and efficiency, to better for the majority of students and teachers.
Keywords: J2EE, Struts, MVC, teaching management information systems
目录
1 绪论 4
1.1 课题背景 4
1.2 论文选题及研究内容 4
2 相关理论及技术 5
2.1 J2EE 技术 5
2.1.1 J2EE 简介 5
2.1.2 Servlet 5
2.1.3 JSP 5
2.1.4 sun公司提出的两个Java Web开发规范:JSP模型一和JSP模型二 6
2.2 开发环境Eclipse 7
2.3 tomcat服务器 7
2.4 数据库 7
2.5 MVC模式 8
2.5.1 MVC设计模式 8
2.5.2 MVC模式处理过程 8
2.5.3 为什么要使用MVC模式 9
2.5.4 MVC模式的优点 9
2.6 struts框架 10
2.6.1 Struts框架简介 10
2.6.2 Struts的配置文件 11
2.6.3 Struts实现MVC机制 11
2.6.4 Struts工作流程 11
2.6.5 Struts中的数据传递 13
3具体设计 13
3.1 需求分析 13
3.2 奖惩管理子系统流程分析 13
3.3 数据库设计 16
3.4 组件 17
3.5 组件具体设计 17
3.5.1 AwdManageBean的设计 17
3.5.2 AwdManageActionForm设计 18
3.5.3 DBAwdManageModel设计 18
3.5.4AwdManageAction设计 18
3.6 配置文件的设计 18
3.7系统运行过程及效果图 19
4 结论 22
4.1 总结 22
4.2 不足与展望 23
致谢 25
参考文献 26
附录 27
基于J2EE Struts框架实现教学管理信息系统
\
1 绪论
1.1 课题背景
随着改革开放和现代化建设的不断深入,信息化己经成为覆盖现代化建设全局的战略举措。要通过信息化带动工业化,通过工业化促进现代化,从而加快我