APP下载

SVN版本控制系统在JavaWeb实验教学中的应用

2021-07-19蔡云鹭林其堃曾志廉

电脑知识与技术 2021年14期

蔡云鹭 林其堃 曾志廉

摘要:研究基于SVN版本控制系统的Java Web实验教学模式,从实验课程目标和教学实践的技术需求出发,提出了基于SVN+Tomcat+MySQL开发环境和NetBeans开发工具的系统设置与管理方案。介绍了独立实验和团队综合实验的设置方法,总结了基于NetBeansIDE的实验流程, 实现了对实验项目的代码进行版本控制和托管。新实验模式下的代码同步、项目管理和团队协作使实验模式接轨于企业生产模式,有效地提高了学生的实验积极性和实验效率。

关键词:Java Web实验教学;Subversion;代码同步;版本控制

中图分类号:TP391.7        文献标识码:A

文章编号:1009-3044(2021)14-0041-03

Abstract:To research Java Web course experimental teaching mode based on the technique of SVN version control. In order to achieve the goals ofexperimentalobjectives and the technical requirements of teaching, a System setup and management scheme based on SVN+Tomcat+MySQL and NetBeans IDE are proposed.The independent experiment and the team comprehensive experiment setup is introduced and the experimental process based on NetBeans IDE realizing the version control and hosting of the experimental code is summarized. The new experimental environment for code synchronization, project managementandteam collaborationrealize the connection between experimental teaching and corporate work mode, which effectively improves the teaching practice. Students' experimental enthusiasm and personal programming ability, teamwork awareness has also been significantly enhanced by the experimental method reform.

Key words: Java Web experiment teaching; Subversion; code synchronization;versioncontrol

1 前言

Java Web開发技术是Java EE的核心技术,是开发各种Web应用的首选技术之一。Java Web编程技术课程旨在培养学生掌握Java Web程序开发的基本理论和核心技术,课程的主要实验有:Servlet模型、HTTP请求与响应对象、会话管理、JSP基本语法与页面指令、Web组件重用与JavaBeans、JDBC访问数据库、Servlet事件处理、Servlet过滤器的使用和MVC设计模式等。在传统的实验教学模式下,教学侧重于学生完成教学大纲规定的实验任务,按要求完成相应的实验报告,对学生能力培养的系统性以及工程应用能力的培养重视不足,越来越难以满足企业对Web开发人员的专业素养和实践技能的要求。目前,程序设计类实验教学不足之处主要表现在以下方面:1)学生的实验过程对教师是透明的,按照传统的实验流程,学生的编码过程只依赖机房计算机或个人计算机,教师看到的只有最终呈现的实验结果,整个编码过程对于……

登录APP查看全文