JRebel有什么好处? [英] What are the benefits of JRebel?

查看:121
本文介绍了JRebel有什么好处?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在检查JRebel。根据他们的网站:

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


JRebel是一个可以加速基于JVM的开发的Java插件(Java,Scala, Groovy)通过将工作空间中所做的更改重新加载到正在运行的JVM中,无需重新启动或重新部署,在编码时维护应用程序的状态。

这似乎与我们已经通过Eclipse,Netbeans和IntelliJ实现的相同:我们保存并立即部署我们的更改。 JRebel会给我们带来哪些额外的好处?

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?

推荐答案

IDE(Eclipse,NetBeans或IntelliJ)会自动重新部署应用程序(如果已配置),这不是即时的。基本上,只是自动化仍然导致应用程序的真正重新部署,包括创建新的类加载器以及初始化过程中涉及的所有补充内容。

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.

在某些情况下,IDE与某些容器结合使用可以保留会话状态 - 如果这对您有用,那就太棒了。如果没有 - 在这里 - JRebel就是答案。

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.

在打包部署的情况下,构建阶段会增加,但是通过使用JRebel,您可以立即消除所有这些。

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

这篇关于JRebel有什么好处?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆