The latest expert opinions, articles, and guides for the Java professional.
The latest development version of JavaRebel features two most requested improvements:
- You can now develop with unexploded WAR/EAR/JAR, while still compiling instantly with your IDE. To do that just set the “-Drebel.dirs=/path/to/classes1,/path/to/classes2,…” JVM command line property and JavaRebel will load the “.class” files from those directories instead of from EAR/WAR. The disadvantage in this solution is that since newly added classes are not present in the classpath, JavaRebel will not see them before you recompile your WAR/EAR/JAR (which may still not work in some containers).
- You can now mark JARs as reloadable (either set “JavaRebel-Reloadable: true” in MANIFEST.MF or make the JAR name end in “-reloadable.jar”). Reloadable JARs will be monitored for changes and classes in them reloaded as usual. This way you can use your usual build cycle instead of IDE building. Note that you still need unexploaded WAR/EAR, just classes may be in JARs. This feature is considered experimental and is first of all meant for production support in future versions of JavaRebel.
No comments yet.
Leave a comment