Configuring JBoss in eclipse requires a plugin: JBoss Tools, which can be downloaded to the official website: http://www.jboss.org/tools/ Download.html
Can also be found in "Help", "Eclipse Marketplace":
1, search in eclipse Marketplace "JBoss Tools ", the first one is, point" install "installation, the installation process is slightly.
2, after installation, add JBoss environment to "windows", "Preferences", "Server"-"Runtime Environments":
After selecting the appropriate version of JBoss installed, "Next" Next:
Select the local jboss installation directory, "Finish" completed:
3, find the "Servers" Panel, right click in the blank, select "New "Server", if not available at "window", "Show View", "Servers".
Create a new server, select the JBoss counterpart, Next:
Next all with default values, "Next" continue:
Add the project that needs to be configured as JBoss and finish:
After the add is complete:
Right-click the service, start starts the service.
At this time browse http://localhost:8080, the effect is as follows, the server started successfully:
Done! Next Run your project, "Run as", "Run on Server", select the Jboss service you just configured, "Finish":
Reference:/http www.cnblogs.com/dongzhiquan/archive/2010/10/11/1994540.html
Thanks to the original author.
Configuring JBoss 7 in Eclipse