PacktLib: Apache Axis2 Web Services, 2nd Edition

Apache Axis2 Web Services

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Preface

Apache Web Services and Axis2

Service Oriented Architecture (SOA)

Web service overview

Web services model

Web services lifecycle

Apache Web Service stack

Why Axis2?

Downloading and installing Apache Axis2

Summary

Looking inside Axis2

Axis2 architecture

Core modules

Other modules

Extensible nature of Axis2

Summary

Axis 2 XML Model (AXIOM)

Overview of AXIOM and its features

Working with AXIOM

Summary

Execution Chain

Handler

Phase

Phase rules

Flow

Module engagement and dynamic execution chain

Summary

Deployment Model

What is new in Axis2 deployment?

Hot deployment and hot update

Repository

Change in the way of deploying handlers (modules)

Deployment descriptors

Summary

Information Model

Axis2 static data

Service description hierarchy

Axis2 contexts

Summary

Writing an Axis2 Service

Creating a web service

The code first approach

Contract first approach – starting from the WSDL

Summary

Writing an Axis2 Module

Brief history of the Axis2 module

Summary

The Client API

Web service client

Summary

Session Management

Stateless nature of Axis2

The available type of sessions in Axis2

Session initializing and session invalidating

Request session scope

SOAP session scope

Transport session scope

Application scope

Summary

Developing JAX-WS Web Services

Writing a simple JAX-WS web service

JAX-WS annotations

JSR 224 (JAX-WS) annotations

JSR 222 (JAXB) annotations

JSR 250 (Common Annotations)

Code first service development with JAX-WS

Contract first development with JAX-WS

Summary

Axis2 Clustering

Setting up a simple Axis2 cluster

Writing a highly available clusterable web service

Stateless Axis2 Web Services

Setting up a failover cluster

Increasing horizontal scalability

Setting up and configuring Axis2 clusters in production

Membership schemes

Cluster management

Highly available load balancing

The Axis2 clustering management API

Summary

Enterprise Integration Patterns

Apache Synapse

WSO2 ESB

OpenESB

Protocol bridging

External authentication and authorization

Dynamic routing combined with auditing

Event Driven Architecture (EDA) with Master Data Management (MDM) for Integrating Legacy Systems

Push and pull

Fault tolerant autoscaling with dynamic load balancing

References

Summary

Axis2 Advanced Features and Usage

Representational State Transfer (REST)

Message Transmission Optimization Mechanism (MTOM)

Axis2 configurator

Deploying Axis2 in various application servers

Asynchronous web services with Axis2

Summary

Building a Secure Reliable Web Service

Reliable web services

Summary

Index