Saturday, March 5, 2016

Intellij vs Netbeans vs JRebel

After 6 months of using Java (2 of them with Netbeans and 4 of them with IntelliJ) in an enterprise application, I highly recommend IntelliJ if you want to improve your productivity (if your application is small then IntelliJ might not be necessary).

Netbeans offers a good start but once you're proficient, you find that deploying your enterprise application to review your changes just takes too long. IntelliJ offers hotswapping and yes, you can do hotswapping with Netbeans (https://github.com/dcevm/dcevm/releases) because hotswapping exists natively in Java, but sometimes it doesn't work. That's because you need to use a specific Java version. I had it configured and it worked ok but when I upgraded Java it stopped working.

With IntelliJ hotswapping is already built into the IDE. You don't need to do any configuration. Just keep in mind that with IntelliJ hotswapping doesn't work when you change a method signature.

Still, you can take it one step further with JRebel. However, JRebel gave me a lot of problems so I uninstalled it. My main issue was that the page would take forever to load after a few hotswaps.

In summary, I recommend using IntelliJ for your Java development.

No comments: