gpt4 book ai didi

Eclipse 服务器插件 : Full Publish vs Incremental Publish

转载 作者:行者123 更新时间:2023-12-03 23:43:08 28 4
gpt4 key购买 nike

将企业应用程序部署到服务器(例如 Glassfish 或 JBoss)时,完全发布和增量发布有什么区别?

我看到部署的工件树中列出了几个模块,但是当我在 Web 存档上使用增量发布时,会发生一些事情,但没有部署。通过完整发布,整个 EAR、库、EJB 文件和 WAR 都被部署了。

最佳答案

根据JBoss Server Manager Reference Guide :

Full publish will force a full rebuild of the entire module


然而:

Incremental Publish is meant to enable publishing of only those parts where changes have been made.


这听起来(至少对我来说)就像它们在发布最新版本方面应该总是同样出色。但是,正如您所发现的,情况似乎并非如此。
只是一个经验法则,但根据我的经验,增量发布适用于前端的更改(例如 Javascript、JSP 等),而当后端发生更改(例如实体、模型等)时通常需要完全发布.)

关于Eclipse 服务器插件 : Full Publish vs Incremental Publish,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11819285/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com