简体   繁体   中英

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.
  2. Setting up a standalone JBoss EAP 6.0 server and then linking it to Eclipse using JBoss Tools.

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.

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.

I would say that "link it to Eclipse" is the same as "Create->New Server". 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).
  2. Open eclipse. Create->New Server.
  3. Select JBoss Enterprise Middleware then whichever version you are using.
  4. In the next window where it says home directory, you will enter the name of the directory from step 1.

"Creating a server" in eclipse is creating a graphical interface to the actual server you installed. It's great because you an manage many aspects of the server (NOT configuring standalone.xml) from within eclipse. You can start and stop it and deploy to it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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