[1]万嘉龙,况立群*,熊风光,等.面向 Spring 的热点代码在线部署方法研究[J].计算机技术与发展,2023,33(05):105-109.[doi:10. 3969 / j. issn. 1673-629X. 2023. 05. 016]
 WAN Jia-long,KUANG Li-qun*,XIONG Feng-guang,et al.Research on Hot Code Online Deployment Method for Spring[J].,2023,33(05):105-109.[doi:10. 3969 / j. issn. 1673-629X. 2023. 05. 016]
点击复制

面向 Spring 的热点代码在线部署方法研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
33
期数:
2023年05期
页码:
105-109
栏目:
软件技术与工程
出版日期:
2023-05-10

文章信息/Info

Title:
Research on Hot Code Online Deployment Method for Spring
文章编号:
1673-629X(2023)05-0105-05
作者:
万嘉龙况立群* 熊风光薛红新韩 燮
中北大学 大数据学院,山西 太原 030051
Author(s):
WAN Jia-longKUANG Li-qun* XIONG Feng-guangXUE Hong-xinHAN Xie
School of Data Science and Technology,North University of China,Taiyuan 030051,China
关键词:
Spring软件部署热点代码虚拟容器Docker
Keywords:
Springsoftware deploymenthot-spot codevirtual containerDocker
分类号:
TP311. 5
DOI:
10. 3969 / j. issn. 1673-629X. 2023. 05. 016
摘要:
随着 Spring 生态不断发展,越来越先进的部署方式降低了部署的复杂度,提高了不同环境下的部署效率,但是在预生产环境下,对频繁改动的热点代码,其部署效率不是很理想,一些简单的代码修改
就会引发对所有依赖服务的重新编译部署,给项目部署、运维以及测试带来很多预期之外的影响。 在线部署机制针对这个问题进行了改进,该机制使用自定义注解作为与外部应用通信的桥梁,使
在线部署模块独立于外部应用。 在线部署模块使用 React 创建可视化页面,在可视化页面中管理相应的热点代码。 热点代码在编辑完成后注入到在线部署模块,进而完成其热点功能在预生产环境的在线部署。 实验表明,相对于重新编译部署,该部署机制对原有代码侵入影响较小,减少了反复部署应用以及不同部门协调合作造成的时间浪费,在保持系统稳定运行的同时,提升了系统的部署效率,并成功应用于新型智慧城市评估系统的热点代码模块。 研究结果将为迭代开发以及高效部署提供设计思路与技术支撑。
Abstract:
With the continuous development of Spring ecology,more and more advanced deployment methods reduce the complexity ofdeployment and improve the deployment efficiency under different environments. However, in the preproduction environment, thedeployment efficiency of frequently changed hot code is not ideal. Some simple code modifications may trigger?
the recompilation and deployment of all dependent services,and bring many unexpected impacts on project deployment,operation and maintenance and testing.The online deployment mechanism is improved to solve this problem. The mechanism uses custom annotations as a bridge tocommunicate with external applications, making the online deployment module independent of external applications. The onlinedeployment module uses React to create a visualization page and manage the corresponding hotspot code in the visualization page. Afterediting,the hotspot code is injected into the online deployment module to complete the online deployment of its hotspot functions in thepreproduction environment. Experiments show?
that compared with recompiling and deployment, such deployment mechanism has lessimpact on the original code intrusion, reduces the time waste caused by repeated deployment of applications and coordination andcooperation between different departments,improves the deployment efficiency of the system while maintaining the stable operation of thesystem,and has been successfully applied to the hot code module of the new smart city evaluation system. The research results willprovide design ideas and technical support for iterative development and efficient deployment.

相似文献/References:

[1]刘斌 王最.Struts,Spring,Hibernate框架在OA开发中的应用[J].计算机技术与发展,2010,(01):147.
 LIU Bin,WANG Zui.Application of Office Automation Based on SSH Framework[J].,2010,(05):147.
[2]李成严 冯慧灵.基于开源技术的Web应用架构研究[J].计算机技术与发展,2009,(08):27.
 LI Cheng-yan,FENG Hui-ling.Research of Web Application Architecture Based on Open- Source[J].,2009,(05):27.
[3]徐金宝 解芳 吴美红 李升.轻量级Java EE框架下软件测试的应用研究[J].计算机技术与发展,2009,(09):115.
 XU Jin-bao,XIE Fang,WU Mei-hong,et al.Research on Software Testing in Light - Weight Java EE Framework[J].,2009,(05):115.
[4]廖宁 李振坤 邓钊汉.基于SpringSide的可定制数据采集系统的设计与实现[J].计算机技术与发展,2009,(10):234.
 LIAO Ning,LI Zhen-kun,DENG Zhao-han.Design and Implementation of Customizable Resource and Data Acquisition System Based on SpringSide[J].,2009,(05):234.
[5]李腊元 徐鹏.基于MVC模式的JSF,Spring和Hibernate整合[J].计算机技术与发展,2008,(03):46.
 LI La-yuan,XU Peng.Conbination of JSF, Spring and Hibernate Based on MVC[J].,2008,(05):46.
[6]卢晓星 余金山.一种基于iSH的应用框架设计及实现[J].计算机技术与发展,2008,(04):45.
 LU Xiao-xing,YU Jin-shan.Design and Implementation of an Application Framework Based on iSH[J].,2008,(05):45.
[7]周杨川 孙淑霞 丁照宇.基于Spring+JPA框架的电子政务基础平台[J].计算机技术与发展,2008,(04):98.
 ZHOU Yang-chuan,SUN Shu-xia,DING Zhao-yu.E-Government Foundation Platform Based on Spring+JPA[J].,2008,(05):98.
[8]伍庆林 王加阳.基于J2EE框架的工作流管理系统设计与实现[J].计算机技术与发展,2008,(04):107.
 WU Qing-lin,WANG Jia-yang.Design and Implementation of J2EE Framework-Based Workflow Management System[J].,2008,(05):107.
[9]屈福志 修桂华 刘德志.基于开源框架的物流管理系统的研究[J].计算机技术与发展,2008,(05):245.
 QU Fu-zhi,XIU Gui-hua,LIU De-zhi.Research on Logistics Management System Based on Opensource Framework[J].,2008,(05):245.
[10]刘能现 俞建家.基于Tapestry+Spring+Ibatis框架的Web应用开发[J].计算机技术与发展,2008,(12):174.
 LIU Neng-xian,YU Jian-jia.Development of Web Application Based on Tapestry + Spring + Ibatis Framework[J].,2008,(05):174.

更新日期/Last Update: 2023-05-10