PacktLib: Quickstart Apache Axis2

Quickstart Apache Axis2

Credits

About the Author

About the Reviewer

Preface

Introduction

Web Service History

Web Services Overview

Web Services Model

Web Services Standards

Web Services Life Cycle

Apache Web Service Stack

Why Axis2?

Download and Install Axis2

Summary

Looking into Axis2

Axis2 Architecture

Core Modules

Other Modules

Extensible Nature of Axis2

Summary

AXIOM

Overview and Features

AXIOM—Architecture

Working with AXIOM

Summary

Execution Chain

Handler

Phase

Module Engagement and Dynamic Execution Chain

Special Handlers in the Chain

Summary

Hacking Deployment

What's New in Axis2 Deployment?

J2EE-like Deployment Mechanism

Hot Deployment and Hot Update

Repository

Change in the Way of Deploying Handlers (Modules)

New Deployment Descriptors

Available Deployment Options

Summary

Information Model

Introduction

Axis2 Static Data

AxisModule

Service Description Hierarchy

Axis2 Contexts

Summary

Writing an Axis2 Service

Introduction

Code-First Approach

Deploying a Service Using a Service Archive File

Contract-First Approach—Starting from WSDL

Summary

Writing an Axis2 Module

Introduction

Module Concept

Module Structure

Module Implementation Class

Writing the module.xml File

Deploying and Engaging the Module

Summary

Client API

Introduction

Blocking and Non-Blocking Invocation

Inside Axis2 Client API

Summary

Session Management

Introduction

Stateless Nature of Axis2

Types of Sessions in Axis2

Session Creation and Session Destruction

Request Session Scope

SOAP Session Scope

Transport Session Scope

Application Scope

Summary

Contract First or Code First

Introduction

Code-First Approach

Why Not the Code-First Approach?

Contract-First Approach: Why is it So Special?

Code-Generation Support in Axis2

Summary

Advanced Topics

REST—Representational State Transfer

MTOM—Message Transmission Optimization Mechanism

Axis2 ClassLoader Hierarchy

Sharing Libraries Using the Class Loader Hierarchy

Axis2 Configurator

Deploying Axis2 in Various Application Servers

Summary

Index