在 Eclipse 3.4 上为 JBoss 进行热部署:Ganymede

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/712353/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 13:38:17  来源:igfitidea点击:

Hot Deploy for JBoss on Eclipse 3.4: Ganymede

javaeclipsejbossjakarta-eeganymede

提问by Pablo Santa Cruz

I am using Ganymede (Eclipse 3.4) to do some Java EE based web development targeting a JBoss 4.2 application server.

我正在使用 Ganymede (Eclipse 3.4) 做一些基于 Java EE 的 Web 开发,以 JBoss 4.2 应用程序服务器为目标。

I have always liked Eclipse very much for a Java editor. The thing is, for Java EE is not as useful as one might think. It's buggy, deployment and debugging is very slow, and you have to re-deploy your Java EE application every time you make a little change. That makes development unbearable.

我一直非常喜欢 Eclipse 作为 Java 编辑器。问题是,Java EE 并不像人们想象的那么有用。它有问题,部署和调试非常慢,每次做一点改动都必须重新部署 Java EE 应用程序。这使得发展难以忍受。

My question is: Is there a plugin that will make my life easier by adding HOT DEPLOY to Ganymede when developing JBoss Applications?

我的问题是:在开发 JBoss 应用程序时,是否有一个插件可以通过将 HOT DEPLOY 添加到 Ganymede 来让我的生活更轻松?

采纳答案by Jon

Yes, you can use JBoss tools:

是的,您可以使用 JBoss 工具:

http://www.jboss.org/tools

http://www.jboss.org/tools

I've used this when developing on JBoss using Eclipse 3.4, it works well although there are still some bugs in the plugin. Overall though it's better.

我在使用 Eclipse 3.4 在 JBoss 上开发时使用过它,虽然插件中仍然存在一些错误,但它运行良好。总体来说虽然更好。

Update site for 3.4.2 is:

3.4.2 的更新站点是:

http://download.jboss.org/jbosstools/updates/stable/

http://download.jboss.org/jbosstools/updates/stable/

EDIT: Also, if you're running on Redhat you can download JBoss Developer Studio which is "guaranteed" to provide a development environment that is stable and deployable. I've not used it, but interested to see whether it lives up to those claims:

编辑:此外,如果您在 Redhat 上运行,您可以下载“保证”提供稳定和可部署的开发环境的 JBoss Developer Studio。我没有使用过它,但有兴趣看看它是否符合这些要求:

http://www.jboss.com/products/devstudio/

http://www.jboss.com/products/devstudio/

回答by tddmonkey

You can do this out of the box with remote debugging. Connect the Eclipse debugger to JBoss and when you make a code change it will be hot-patched where possible.

您可以通过远程调试开箱即用地执行此操作。将 Eclipse 调试器连接到 JBoss,当您进行代码更改时,它会在可能的情况下进行热修补。

There's a tutorial on doing so here

有一个关于这样做的教程here