Jrebel 4.5、5.0、5.2.2、5.4.2可用性对比测试


测试环境是:

apache-tomcat-6.0.37

jdk1.6.0_45

IntelliJ IDEA 13.0.2



1、配置tomcat,并设置tomcat的运行vm参数为:


-noverify

-javaagent:D:\jrebel5.4.2_cr\jrebel.jar

-Drebel.disable_update=true

-DJAVA_OPTS=-Xms512m

-Xmx512m

-XX:MaxNewSize=256m

-XX:MaxPermSize=256m


提示:这些所谓的破解在idea13下均不能通过jrebel plugin插件配置,网上给出的都是idea12下的插件配置过程均不能测试成功,因此只能通过tomcat的vm参数配置实用。另外,jar和lic文件需要在一个目录里,有些破解彻底的不需要lic文件。这里不提供破解下载。


2、启动后提示,通过提示,还可以个性化配置更多vm参数,详细看启动控制台提示:


Using CATALINA_BASE:   "C:\Users\Administrator\.IntelliJIdea13\system\tomcat\Tomcat_6_0_37_testjrebel"

Using CATALINA_HOME:   "D:\apache-tomcat-6.0.37"

Using CATALINA_TMPDIR: "D:\apache-tomcat-6.0.37\temp"

Using JRE_HOME:        "D:\jdk1.6.0_45"

Using CLASSPATH:       "D:\apache-tomcat-6.0.37\bin\bootstrap.jar"

2014-03-01 15:14:56 JRebel:

2014-03-01 15:14:56 JRebel: #############################################################

2014-03-01 15:14:56 JRebel:

2014-03-01 15:14:56 JRebel:  JRebel 5.4.2 (201311271505)

2014-03-01 15:14:56 JRebel:  (c) Copyright ZeroTurnaround OU, Estonia, Tartu.

2014-03-01 15:14:56 JRebel:

2014-03-01 15:14:56 JRebel:  Over the last 1 days JRebel prevented

2014-03-01 15:14:56 JRebel:  at least 10 redeploys/restarts saving you about 0.4 hours.

2014-03-01 15:14:56 JRebel:

2014-03-01 15:14:56 JRebel:  This product is licensed to www.sdandroid.com

2014-03-01 15:14:56 JRebel:  for unlimited number of developer seats on site.

2014-03-01 15:14:56 JRebel:   ####### Cracked by sdandroid (blog@sdandroid.com) ######

2014-03-01 15:14:56 JRebel:

2014-03-01 15:14:56 JRebel:  The following plugins are disabled at the moment:

2014-03-01 15:14:56 JRebel:  * Axis2 plugin (set -Drebel.axis2_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * Camel plugin (set -Drebel.camel_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * Click plugin (set -Drebel.click_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * Deltaspike plugin (set -Drebel.deltaspike_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * Eclipse RCP Plugin (set -Drebel.eclipse_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * JBoss7 EJB Plugin (set -Drebel.jboss7_ejb_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * JRuby Plugin (set -Drebel.jruby_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * Jersey plugin (set -Drebel.jersey_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * Log4j2 plugin (set -Drebel.log4j2_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * Mustache Plugin (set -Drebel.mustache_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * RESTlet plugin (set -Drebel.restlet_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * Seam-Wicket plugin (set -Drebel.seam_wicket_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * Spring Data Plugin (set -Drebel.spring_data_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * Thymeleaf Plugin (set -Drebel.thymeleaf_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * VRaptor plugin (set -Drebel.vraptor_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * Vaadin CDI utils plugin (set -Drebel.vaadin_cdiutils_plugin=true to enable)

2014-03-01 15:14:56 JRebel:  * WebObjects plugin (set -Drebel.webobjects_plugin=true to enable)

2014-03-01 15:14:56 JRebel:

2014-03-01 15:14:56 JRebel: #############################################################

2014-03-01 15:14:56 JRebel:

2014-03-01 15:14:56 JRebel:

2014-03-01 15:14:56 JRebel: A newer version '5.5.1' is available for download

2014-03-01 15:14:56 JRebel: from http://zeroturnaround.com/software/jrebel/download/

2014-03-01 15:14:56 JRebel:


3、jrebel-5.4.2版本不同于之前的版本,这个版本最大的优点是,不需要手动编译java文件,只需要ctrl+s保存一下修改过的java文件,就能自动编译并热部署到tomcat。