Eclipse 中用于 Hotswap 或 HotDeployment 的 Jrebel 的替代方案
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17692046/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Alternative of Jrebel for Hotswap or HotDeployment in Eclipse
提问by edudant
As i am working in Javafrom past couple of year i do not saw any effort from Oracle to solve the problem of class reloading. Like done by Jrebel
由于我从过去几年开始使用Java,我没有看到 Oracle 为解决类重新加载问题所做的任何努力。就像Jrebel所做的那样
But its a licensed version and cost is very high its very worthy for me to buy 10-20 developer license. Any one know any open source or less costly licensing product which i can use for Hot deploymentof Java classes as like JSPs OR JSF so i do not need to restart the server again and again for small Java class change.
但是它是一个行货版本,而且成本非常高,非常值得我购买 10-20 个开发者许可证。任何人都知道任何开源或成本较低的许可产品,我可以将其用于Java 类的热部署,如 JSP 或 JSF,因此我不需要一次又一次地重新启动服务器以进行小的 Java 类更改。
Right now i am using Eclipse IDE,Is any other Open source IDE like NetBeanshave this inbuild feature or plugin available ?
现在我正在使用Eclipse IDE,是否有任何其他像NetBeans这样的开源 IDE有这个内置功能或插件可用?
采纳答案by Anton Arhipov
Class reloading alone does not solve JSP or JSF or any other framework configuration reloading. This is what JRebel offers beyond class reloading.
单独的类重新加载并不能解决 JSP 或 JSF 或任何其他框架配置重新加载的问题。这就是 JRebel 提供的超越类重新加载的功能。
You can make a search on the same topic in StackOverflow or Google and you'll find plenty of questions like your own. None of the alternatives are at the same level. You may take a look at Play! Framework, for instance, but that will require you to change the technology stack for your current project.
您可以在 StackOverflow 或 Google 中搜索同一主题,您会发现很多类似您自己的问题。没有一个替代方案处于同一水平。你可以看看Play!例如Framework,但这将要求您更改当前项目的技术堆栈。
回答by edudant
Take a look at Hotswap Agent:
- Framework support - Spring, Hibernate, Logback, Jetty, Tomcat, JSF, ...
- Documentation how to setup DCEVM and precompiled binaries for Java 1.7
- Load classes and resources from various location (allow reload of classes from dependent project]
- Open source and free
- 框架支持 - Spring, Hibernate, Logback, Jetty, Tomcat, JSF, ...
- 文档如何为 Java 1.7 设置 DCEVM 和预编译二进制文件
- 从不同位置加载类和资源(允许从依赖项目重新加载类)
- 开源和免费