Java Rebel saves me ….
September 15, 2008
Today i found one of the most interesting tool called Java Rebel (http://www.zeroturnaround.com/javarebel/).
Before explaining about this tool , i would like to tell what are the steps i was doing for deploying the application.
Running Managed and admin server everytime after you made code changes(Changing logic etc..) in any “.class” file .
These steps will repeat whenever you do code changes. And developer has to wait until the servers has been brought up. This will kill developer time indeed.
But this tool Java Rebel make no more or less chances to re-deploy webapplication after any code changes in your class file.
You can make changes in your code , and see the effect for your change without re-deploying the servers!! , thats amazing one.
“JavaRebel is a JVM plugin (-javaagent) that enables to reload changes made to Java class files on-the-fly, saving developers
the time that it takes to redeploy an application or perform a container restart. It is a generic solution that works for Java EE
and Java standalone applications“.
The following classes will be reloaded when they are changed and compiled:
- All “.class” classes inside the usual classpath (
WEB-INF/classes, etc). will provide the best JavaRebel experience.
Installation
edit your wisorStartManagedWeblogic.cmd file ,
Add the following to JVM command line (note that it is important that the JAR would be named “javarebel.jar”)
" -noverify -javaagent:/path/to/javarebel.jar " for example: set JAVA_OPTIONS=-noverify -javaagent:d:\javarebel\javarebel.jar
Entry Filed under: java. .

Trackback this post | Subscribe to the comments via RSS Feed