Eclipse + myeclipse + Tomcat/JBoss configuration Manual

Source: Internet
Author: User
Tags jboss server

1. How to Run Tomcat and JBoss in the integrated development environment eclipse today. The eclipse version is eclipse SDK version: 3.1.2 and my‑sse version is 4.1 (this plug-in is different from other Eclipse plug-ins and can be used only after being installed ). Other runtime environments are no longer the same as the configuration environment in the previous day's tutorial.

2. After installing myeclipse, activate eclipse and configure the Tomcat server first, as shown in step 3.
Step 1

Step 2

Step 3 may be selected. After step 1 is selected, there will be a comment box without worrying about it.

Step 4: click "add" and click "Export". The following dialog box is displayed. Note that the JRE home directory in step 1 is your JDK category and is not a JRE category.

Step 5

Step 6. Now, Tomcat 5 is displayed when you click the start button.

Step 7. After step 7 is performed, the Tomcat plugin shows that your Tomcat server has been successfully installed.

3. The configuration of JBoss server is similar to that of Tomcat.

Step 1 open the following plane for configuration

Step 2

Step 3

Step 4. If you can see the JBoss server, check the dynamic operation.

4. Create a project for myeclipse to be automatically released, as shown in the following figure. Create a project category for this type

I created a sample project named servlettest.

I have added two containers for this project. After modifying the project file, it will be automatically released to the File Repository corresponding to Tomcat and JBoss, which is very convenient.

This is the result of deploying servlettest directly to JBoss in eclipse. The running effect of Tomcat is the same as that of JBoss.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.