Setting up JRebel for XPages OSGi Plugin Development
When developing plugins for Domino in Eclipse, one of the drawbacks is the constant
‘restart task http’ to pick up any new changes in your class files.
It may only take 30 seconds but it is slow enough that every time it happens, maybe you check your email, news, social media, maybe you distract one of your colleagues.
Previously, the In-built eclipse remote debugging previously to allow hot-code replace for small changes, however I have found that since a few domino versions ago, it will now crash the server! not ideal!
JRebel looks very promising, it is designed to watch your class folders and automatically update the JVM with no restart.
I had seen JRebel a couple of years back and had one failed attempt at getting it to work with domino and then gave up. I have heard others mention a few times ‘maybe it would work with Domino?’
Anyway, thanks to David Leedy’s video on setting up YourKit profiler, it gave me a clue into how to set up JRebel in a similar fashion using the JavaOptionsFile
Today I managed to get JRebel and Domino working, I have only used it for a day but so far it is going pretty good. I thought I would share how I got it set up so that others might give it a try and let me know if it is working for them.
Here is the video demonstrating the set up and use of JRebel
If you have any trouble setting it up let me know and I will see if I can help