I am assuming you know about Eclipse if not then do explore about it , a developer should know it :).
JDK Installation
- First of all install JDK into the system. Please install this one correctly as all other tools will use this . After installing check in computer properties , environment variables list that following parameters are there :
JAVA_HOME: Directory path where u install JDK
Path : JAVA_HOME/bin folder of JDK
Example
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_17
PATH=C:\Program Files\Java\jdk1.6.0_17\bin\
I believe you need to set the JAVA_HOME variable yourself.
To know how to set environment variables see here
Eclipse Installation
- Now lets install Eclipse into your system. Just extract the zipped files into your harddrive and installation done.
- Now lets install the the two plugins(last two tools in the list ) we downloaded . Just go to plugins folder of Eclipse and extract the zipped file of plugin there.
- Lets see if plugins are installed correctly .
Open New->other->Axis2 , if this option is present then plugins installed correctly
Axis2Binary Installation
- Unzip the downloaded zipped file into desired location
- This step is optional and perform only if you want to use inbuilt tools of axis .
example
AXIS_HOME=C:\axis2
TomCat Server
- Just run the setup file included in the zipped folder
- Go to bin folder and start server
- Visit link http://localhost:8080 to check the installation
Configuring Axis 2 with Tomcat Server
- Copy the Axis 2 WAR distribution file into the webapp folder of tomcat home directory
- Restart the Tomcat Server
- In browser visit http://localhost:8080 /axis2 and you should see axis2 home page if everything is installed correctly
- Click on validate installation to Validate your axis2 integration
Go to axis to binary distribution folder search for axis-web folder
Build.xml file will be present there
Open Build.xml in Eclipse.exe
Click on Run button in eclipse
The war file will be created in axis2 binary home directory/dist folder
Now we are all ready to start Coding :).
No comments:
Post a Comment