简体   繁体   English

Jetty Tapestry热部署=服务器重启?

[英]Jetty Tapestry Hot Deployment = server restart?

could someone confirm that the tapestry hot deployment with Jetty is a: "scan the project for changes and restart the server?" 有人可能会确认使用Jetty的tapestry热部署是:“扫描项目以进行更改并重新启动服务器吗?”

Or is it: monitor changes and replace new files on server, but do not restart it? 或者是:监视器更改并替换服务器上的新文件,但不重新启动它?

Atm I'm using jetty to monitor every 5 seconds my project, and if changes are detected it restarts the server? Atm我用jetty监视我的项目每5秒钟,如果检测到更改,它会重启服务器吗?

But is this called "hot deployment"? 但这被称为“热部署”吗? Bc I do no really save time if the server has to be restarted anyway after changes are made? Bc如果在进行更改之后无论如何都必须重新启动服务器,我真的不会节省时间吗?

ty TY

Hot deployment means that component classes, templates and services (when using Tapestry IOC) are reloaded without a server restart when they are changed. 热部署意味着更改组件类,模板和服务(使用Tapestry IOC时),而无需重新启动服务器。 This behavior is switched off and on with the SymbolConstants.PRODUCTION_MODE switch. 使用SymbolConstants.PRODUCTION_MODE开关关闭和打开此行为。

For details, see the Class Reloading section in the docs. 有关详细信息,请参阅文档中的“ 类重新加载”部分

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM