文章目录
  1. 1. 开发环境热部署

开发环境热部署

  1. 用jrebel
1
2
3
4
5
Could you please add -Drebel.log=true -Drebel.log.perf=true
Most of the options are listed in the reference manual http://zeroturnaround.com/reference-manual/agent.html#agent-5.1
-noverify
-javaagent:E:/src/jrebel-3.0-M1/jrebel.jar
-Drebel.dirs=E:\frameWork\strutsWork\SpringMVC2\WebRoot\WEB-INF\classes

However not everything is listed as some of the options can only be used for the specific cases and might do more harm than good to the overly curious user.
原理java agent:

  1. osgi
    1
    Spring itself doesn't tell much about redeployment and stuff, but in most cases you can reload your templates without restarting depending on your ViewResolver.
    Furthermore in some environments (for example in OSGi) it is possible to hot-deploy classes, resources and nearly everything. Having a properly configured SpringSource [Tool Suite](https://spring.io/) and eg. [Virgo](http://www.eclipse.org/virgo/) WebServer it is possible to achieve hot deployment and as such you can reload the running classes as you save them.

生产环境使用切换集群

  1. dcevm
文章目录
  1. 1. 开发环境热部署