A JVM agent called JRebel (formerly known as JavaRebel; www.zeroturnaround.com/jrebel/) behaves in a way similar to HotSwap but has much better support for custom class-loading solutions like OSGi. For those who don’t know, a JVM agent is a small native library that attaches to the process on startup and is granted low-level access to the Java runtime. Whenever you recompile a class, JRebel automatically updates the appropriate version loaded in the JVM without affecting any other versions of the class. This makes it easy to develop, debug, and compare different releases of an application at ...
- Chapter 8. Debugging applications
- from OSGi in Action: Creating Modular Applications in Java
- Publisher: Manning Publications
- Released: April 2011
HotSwap pros and cons in JRebel.
Share this highlighthttp://www.safaribooksonline.com/a/osgi-in-action/567863/