A recent project is to make a lab equipment management system for Android. The little partner bravely picked up the pot on the Android side, and I
Responsible for him to write back end, recently saw Axis2 this webservice very useful, toss a few days to share under:
1. Tool Preparation
Java EE (Please be sure to download the latest version, I have an older version of the plugin does not support embarrassment)
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/mars/2/ Eclipse-jee-mars-2-win32-x86_64.zip
Tomcat (server)
(I'm using the 7.0 version)
http://tomcat.apache.org/download-70.cgi
Axis2
Http://axis.apache.org/axis2/java/core/download.html
Download MySQL
2. Configuring the Environment
Installing Tomcat
Install Eclipse
Install MySQL
(There is a detailed tutorial on the Internet will not repeat it)
Install Axis2:
AXIS2 environment configuration in eclipse: Window->perferences->web services->axis2 perferences->axis2 Runtime->axis2 Runtime Location,browse Select the axis2-1.6.2 file directory to extract the Axis2-1.6.2-bin.zip from.
2.2: Install plug-ins: Unzip Axis2-eclipse-codegen-plugin-1.6.2.zip and Axis2-eclipse-service-plugin-1.6.2.zip, put the resulting two jar packages into the Eclipse directory \plugins\, restart Eclipse.
2.3: Configure Tomcat: Unzip Apache-tomcat-6.0.36-windows-x64.zip (do not repeat).
2.4:eclipse in Tomcat configuration: Window->perferences->server->runtime environments added.
3: Release Axis2:
3.1: Unzip axis2-1.6.2-war.zip to get Axis2.war and put it into the WebApps folder of Tomcat decompression directory, launch Tomcat, enter http://localhost:8080/axis2/in the browser, Figure 3.1 appears, indicating that the configuration was successful.
How to use Axis2 to build Android Server backend---tool preparation and environment configuration