Version Eclipse-jee configuration Tomcat

Source: Internet
Author: User
Tags soap apache tomcat

Eclipse is an excellent Java development open source IDE that integrates many good development controls. I'll explain how to install Eclipse and plug-ins:

I. JDK installation
JDK is the core of the entire Java, including the runtime environment, compiling tools and other tools, source code, and so on, no matter what Java applications need to use the JDK, so we usually first install the JDK.

You can download the latest version from the Sun's official website: http://java.sun.com/javase/downloads/index.jsp, note that the JDK 6 Update with Java EE version is downloaded. After decompression, you can follow the wizard step-by-step installation.

Two. Eclipse installation
You can download the latest version from the Eclipse official website: http://www.eclipse.org/downloads/, whose columns suggest downloading Eclipse IDE for Java EE developers, this version is generally more versatile.

After downloading, it will automatically be used to correlate the JDK without having to configure the environment variables. (Note: The lower version of Eclipse requires the programmer to set the environment variables for the JDK)

Three. Server Tomcat installation
You can download the latest version from the Apache Tomcat official website: http://tomcat.apache.org/, the higher version is recommended, the performance will be greatly improved. After downloading, unzip the installation program and install the wizard.

Download Sysdeo's Eclipse Tomcat boot plugin http://www.eclipsetotale.com/tomcatPlugin/tomcatPluginV32.zip

It's an excellent eclipse plugin for JAKARTG Tomcat that integrates Web projects and Java code nicely.

Installation method: After extracting the plugin, cut the com.sysdeo.eclipse.tomcat_3.2.0 folder into the Plugins folder in Eclipse, Note For users who use tomcat6.0 or above, you need to rename the Devloader.zip file in the folder to the Devloader.jar file, and then place it under the Lib folder in the Tomcat installation directory.

Restarting the Eclipse software, you can see three more Tomcat icons on the menu bar to prove the installation was successful. The next step is to configure the home variable for tomcat: Select Window>prdferences>>tomcat on the Eclipse menu, then select the Tomcat version and set the Tomcat home value to Tomcat Installation root, expand the Tomcat tree, set the JRE in the JVM settings to the version of the JDK you just installed, which is generally set by default.

We have now implemented the minimum requirement to use the Eclipse and Sysdeo Tomcat plug-ins to start and run Tomcat. Browse the following additional parameter settings for Tomcat in the Eclipse Preference dialog box, and note that there are many other options available in Tomcat's parameter settings. For example, you can add a parameter to the JVM used by the Tomcat server, choose a Java project from the workspace to add to Tomcat's classpath, and make some settings to allow the Tomcat management application

Now that we have completed the installation of the entire server, we will install the Apache AXIS2 package to build our own Web service project.

Four. Deployment of Apache Axis2

Apache Axis is one of the sub-projects in the Apache Web Service project, and it is a continuation of the Apache SOAP project. Axis ' main function is to allow developers to build their own Web Service (Java and C + +) as a SOAP implementation. With its powerful capabilities and stability, Apache Axis has become a key tool for implementing Web Services, thanks to developers.

Installing the AXIS2 process is simple, you can download the latest version of axis2:http://ws.apache.org/axis2/download.cgi directly from the Apache Axis official website and download the war directly (Web Archive Distribution) package, unzip the Axis2.war package into the Tomcat installation directory WebApps, then start the Tomcat server, enter on the browser: Http://localhost:8080/axis2, Proof of deployment success when welcome! occurs.

Now that we've built the entire platform, you can build your Web project with great fun.

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.