Skip to end of metadata
Go to start of metadata

JRebel is a java agent that reloads changes in Java classes on-the-fly, without redeployments or server restarts. The version currently supported is JRebel 2 or greater.

Changes to action classes or to any class that contains validated attributes are detected and applied immediately. To test it:

  • Download JRebel, unzip it and create an environment variable REBEL_HOME, e.g. REBEL_HOME=/usr/local/java/jrebel-2.0.
  • Add "-noverify -javaagent:$REBEL_HOME/jrebel.jar" to your JVM args. If you are using a project created using scaffolding, you should already have two "rebel tomcat" and "rebel jetty" eclipse launch configurations

Next time you start the server JRebel should display something like this at the beginning of your log:

Any modification to Action or JPA classes will be detected and applied on the next browser request.

Notice that modifications to existing Actions will be detected, but new Action classes will not.


‹ Logging
up
XHTML and HTML 5 ›

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.