Manual
Axis2/Java has a modular architecture and consists of the following modules:
• Information Processing
The Message Receiver/Sender model contains all the information about the state of objects
and their hierarchy.
• XML Parser
The XML Parser provides a simple API for the SOAP and XML information set to handle
SOAP messages.
• SOAP Engine
The SOAP Engine controls the execution of the SOAP processing.
• Deployment Model
The deployment model enables you to deploy services, configure the transports, and extend
the SOAP Processing model based on the type of service.
• Client API
This API enables you to communicate with Web services using Axis2/Java.
• Transports
Axis2/Java provides inbuilt transport and enables you to add new transports using the
plugged-in feature, whenever required.
• Code Generation
Axis2/Java provides a code generation tool that generates server and client code along with
descriptors.
• Data Binding
Data binding simplifies the SOAP processing mechanism by encapsulating the infoset layer
and providing a programming language-specific interface.
Key Features of Axis2/Java
Axis2/Java offers the following features:
• Speed
To increase the speed of the enterprise application, Axis2/Java uses its own object model
and Streaming API for XML (StAX ) parsing.
• Low memory usage
The design of Axis2/Java helps in reduced usage of memory that a program uses or references
while running.
• AXIOM
Axis2/Java uses AXIOM for processing the messages. AXIOM is a light-weight object, which
is extensible and convenient for development.
• Hot deployment
Using this feature, Axis2/Java can deploy new services to the system without shutting down
the server. The Axis2/Java deployment model automatically deploys the service and makes
it available for use.
• Faster request-response time
In the conventional Web Services model, the request and the response is processed in a
single thread, thereby delaying the turnaround time. In Axis2/Java, Web Services process
the request and response in a separate thread, thereby reducing the turnaround time.
174 Axis2/Java Overview