The java hotswap feature save a lot of time for me. However, it has many limitations (like schema change is not supported). Any idea if the limitation is going to be addressed any sooner? According to this forum entry, it seems to be ignored.
I know that products like JRebel helps. But does anyone know about any open source tools for this?
Java IDEs and VMs support a feature called HotSwapping. It allows you to update the version of a class while the virtual machine is running, without needing to redeploy the webapp, restart, or otherwise interrupt your debugging session. It's a huge productivity boost if you're editing the body of a method.
Reload all files Recompilation happens automatically if the Build project before reloading classes option is enabled in Settings/Preferences | Build, Execution, Deployment | Debugger | HotSwap. If this option is disabled, you need to recompile the files before reloading (Build | Recompile Ctrl+Shift+F9 ).
You can check out Dynamic Code Evolution VM (also at http://java.net/projects/dcevm)
JavaRebel is a good tool, but it need you purchase.
I'd like advice to you use hotswaping ant tool:
http://www.asjava.com/core-java/how-to-hotswap-java-code-into-jvm-redefinition-example/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With