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.