简体   繁体   English

在Eclipse上设置JBoss EAP 6.0

[英]Setting up JBoss EAP 6.0 on Eclipse

I just wanted to confirm whether there is a substantial difference between the following two scenarios: 我只是想确认以下两种情况之间是否存在实质性差异:

  1. Create a new JBoss EAP 6.0 server instance from Eclipse using Create->New Server. 使用Create-> New Server从Eclipse创建一个新的JBoss EAP 6.0服务器实例。
  2. Setting up a standalone JBoss EAP 6.0 server and then linking it to Eclipse using JBoss Tools. 设置独立的JBoss EAP 6.0服务器,然后使用JBoss工具将其链接到Eclipse。

It would be a great help if you could throw some light on it, I've been stuck on this for a while. 如果您可以对它有所了解,那将是一个很大的帮助,我已经坚持了一段时间。 Thanks 谢谢

Assuming that you have JBoss Tools installed according to Matrix of supported platforms, runtimes and technologies in JBossTools & JBDS you will always need to set up a standalone instance. 假设您已根据JBossTools&JBDS中支持的平台,运行时和技术的列表安装了JBoss Tools 则始终需要设置一个独立实例。

I don't have Juno lying around anymore, but I think that if you follow through with "Create->New Server" the wizard is going to ask you to browse to the directory of an existing JBoss installation. 我不再需要Juno,但是我认为,如果按照“ Create-> New Server”进行操作,向导将要求您浏览到现有JBoss安装目录。

I would say that "link it to Eclipse" is the same as "Create->New Server". 我会说“将其链接到Eclipse”与“创建->新服务器”相同。 Here's how to do that even though you didn't ask for explicit steps. 即使您没有要求明确的步骤,也可以按照以下方法进行操作。 (This question leads me to think there is a fundamental misunderstanding so I'm spelling it out.) (这个问题使我认为存在根本的误解,因此我将其阐明。)

  1. Install the software in /www/jboss/server (or wherever) Set it up (edit standalone.xml or whatever). 将软件安装在/ www / jboss / server中(或任何位置)进行设置(编辑standalone.xml或其他内容)。
  2. Open eclipse. 打开日食。 Create->New Server. 创建->新服务器。
  3. Select JBoss Enterprise Middleware then whichever version you are using. 选择JBoss企业中间件,然后选择您使用的哪个版本。
  4. In the next window where it says home directory, you will enter the name of the directory from step 1. 在下一个显示主目录的窗口中,您将输入步骤1中的目录名称。

"Creating a server" in eclipse is creating a graphical interface to the actual server you installed. eclipse中的“创建服务器”是为实际安装的服务器创建图形界面。 It's great because you an manage many aspects of the server (NOT configuring standalone.xml) from within eclipse. 太好了,因为您可以在Eclipse中管理服务器的许多方面(不要配置standalone.xml)。 You can start and stop it and deploy to it. 您可以启动和停止它并进行部署。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM