Eclipse + Tomcat + Axis2 + ADT Development Environment configuration, axis2adt
1. Install Eclipse and Tomcat1. install Eclipse; 2. Unzip the installation apache-tomcat-6.0.413.tomcat configuration environment variables (4)
TOMCAT_HOME D: \ AndroidSoftwares \ apache-tomcat-6.0.41
CATALINA_HOME D: \ AndroidSoftwares \ apache-tomcat-6.0.41
Classpath d: \ AndroidSoftwares \ apache-tomcat-6.0.41 \ lib \ servlet-api.jar
Or % TOMCAT_HOME % \ lib \ servlet-api.jar
Path d: \ AndroidSoftwares \ apache-tomcat-6.0.41 \ bin
Or % TOMCAT_HOME % \ bin
4. Modify the following tomcat Parameters
(1) Modify port = "6.0.41" in apache-tomcat-8080 \ conf \ server. xml to 8888, or not.
<Connector connectionTimeout = "20000" port = "8888" protocol = "HTTP/1.1" redirectPort = "8443"/>
<! -- A "Connector" using the shared thread pool -->
(2) Add in apache-tomcat-6.0.41 \ conf \ tomcat-users.xml
<User password = "admin" roles = "manager-gui" username = "admin"/> to create a Logon account on the gui.
5. Test
(1) enter the startup. bat command in the command console. If the following information appears, the configuration is successful.
(2) enter the address http: // 10.10.155.3: 8888/in the browser. The following page is displayed:
(3) Click Tomcat Manager to go To the logon page. Enter the username and password created in step 1 to log on. The following page is displayed:
2. Integrate Tomcat into Eclipse 1. Add Tomcat to Eclipse
Click Window> Preference. The following Window is displayed. Choose Server> Runtime Environment and click Add on the right.
Set the correct path and click finish. A project named Serves is displayed in the project. The project cannot be deleted. Otherwise, Tomcat cannot run.
2. Double-click to open it. The following interface is displayed. Modify the specified parameters as follows:
3. Create a dynamic Web project demo
(1) create a JSP file and add Hello World to the body tag!
(2) Publish the project to Tomcat, right-click the project, and select run on Server.
(3) Enter http: // 1 ocalhost: 8888/demo/abc. jsp in the browser
3. Configure Axis2 to access Web Service1. install unzip axis2-1.6.22. Configure Environment Variables
AXIS2_HOME D: \ AndroidSoftwares \ axis2-1.6.2
4. Integrate Axis2 into Eclipse1. click Window> Preference and follow the installation path of axis2.
2. Click Server and Runtime, modify the parameters as follows, and then click OK.
5. Configure ADT in Eclipse
Put features and plugins in the native ADT package into the ADT folder, and then put the ADT folder into the dropins folder of eclipse, as shown in:
Restart eclipse and configure the Android SDK path in Window-> preference. By now, the development environment has been configured.