重新部署JRebel的替代方案 [英] Redeploy alternatives to JRebel

查看:316
本文介绍了重新部署JRebel的替代方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JRebel允许重新部署新编译的代码,而无需重新启动应用程序。我想知道是否有任何替代方案(免费?)。 常见问题解答页面回答了这个问题,但我确信它偏向于JRebel。这个问题是一年前在这个网站上被问到的,但是我把它带回来看看是否有人有任何新的信息。

JRebel allows for newly compiled code to be redeployed without restarting the application. I am wondering if there are any alternative (free?). The FAQ page answers this question, but I am sure it's biased towards JRebel. This question was asked a year ago on this site, but I am bringing it back up to see if anyone has any new information.

在附注中,我真的很喜欢JRebel,但如果有免费替代方案,我愿意尝试。

On a side note, I really like JRebel, but if there is a free alternative, I am willing to try it.

另外一个注意事项,我正在开发一个开源项目,他们提供免费的一个年度许可证给那些可以证明他们在开源项目上的人。这对我很有用(www.kuali.org),但我不会永远在那个项目上。

One additional note, I am working on an open source project, and they offer free one year licenses to people who can prove they are on an open source project. Which works great for me (www.kuali.org), but I won't be on that project forever.

推荐答案

Take看看 DCEVM ,它是对HotSpot VM的修改,允许在运行时无限制地重新定义类。您可以添加/删除字段和方法,并在运行时更改类的超类型。作为 JEP 159 的一部分,DCEVM的功能可能会集成到Java的未来更新中。

Take a look at DCEVM, it's a modification of the HotSpot VM that allows unlimited class redefinitions at runtime. You can add/remove fields and methods and change the super types of a class at runtime. The features of DCEVM are likely to be integrated in a future update of Java as part of JEP 159.

网站上提供的二进制文件仅限于Java 6u25和Java 7的早期版本。该项目已经分解为 Github 并支持最新版本的Java 7和8.维护者为Windows / Linux上的32/64位VM提供二进制文件。从Debian 7(Wheezy)和Ubuntu 15.04开始,DCEVM可以与 openjdk-7-一起安装jre-dcevm openjdk-8-jre-dcevm 包,并使用 java -dcevm 调用。

The binaries available on the site are limited to Java 6u25 and to early versions of Java 7. The project has been forked on Github and supports recent versions of Java 7 and 8. The maintainer provides binaries for 32/64 bits VMs on Windows/Linux. Starting with Debian 7 (Wheezy) and Ubuntu 15.04 DCEVM can be installed with the openjdk-7-jre-dcevm and openjdk-8-jre-dcevm packages, and invoked with java -dcevm.

这篇关于重新部署JRebel的替代方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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