What are the benefits of JRebel? [closed]
Asked Answered
M

3

17

I've been checking out JRebel. According to their site:

"JRebel is an anything-Java plugin that speeds up JVM-based development (Java, Scala, Groovy) by reloading changes made in your workspace into a running JVM, without restarts or redeploys, maintaining the state of the application while you’re coding."

This seems to be the same as what we're already achieving with Eclipse, Netbeans and IntelliJ: we save and our changes are deployed instantly. What additional benefit(s) would JRebel give us?

Could someone explain it to me?

Musset answered 12/9, 2012 at 17:32 Comment(1)
JRebel uses awful class reloading method. Since I guessed how does JRebel works I won't never use it.Horseshit
B
17

The IDE (Eclipse, NetBeans or IntelliJ) automatically redeploy the application if configured so, which is not instant. Basically, it is just the automation that still results in real redeployment of the application, including creating of a new classloader and all the complementary stuff that is involved into initialization process.

In some cases, IDE in combination with some containers can preserve the session state - if that works for you that's awesome. If not - here you go - JRebel is the answer.

In case of packaged deployment the build phase adds up, but by using JRebel you just eliminate that all at once.

Bestialize answered 12/9, 2012 at 22:40 Comment(2)
Can you please provide your thoughts on #35249734. I don't think this answer is still valid i.e Basically, it is just the automation that still results in real redeployment .. as I find eclipse redeployment is really quick now a daysCondensable
@Condensable vanilla redeployment is still just a redeployment regardless if it is triggered by Eclipse or any other IDE. Unless, the specific technology at runtime provides special hooks for the IDE (or any other tooling) to trigger and is optimized for update/redeploy speed.Bestialize
P
6

Some changes are not possible to reload especially when changing jar files classes without having to reload or restart the server (whatever server you are using). It automatically changes the compiled classes in the server and are automatically reloaded in your classpath.

When you are saving and refreshing changes in your IDE, you are basically rebuilding the war file and redeploying it on the server. This process can still slow down especially when redeploying large applications with multiple jar files and war files and all the classpath has to be refreshed.

Pile answered 12/9, 2012 at 21:42 Comment(0)
H
1

JRebel isn’t An IDE plugin. JRebel comes pre-bundled with the plugins for Eclipse, IntelliJ IDEA, NetBeans and JDeveloper, however, JRebel agent is designed to be IDE-agnostic and can be used outside the IDE.

If you have questions What JRebel is and what it is not? here is a link that can provide all the answers that you are looking for:

What JRebel is and what it is not?

Here is a video about JRebel:

JRebel video

Hibbert answered 8/4, 2015 at 19:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.