Web Services SOA

Service Oriented Architecture

Topics

    • Service Oriented Computing
    • Service Orientation
    • Service Oriented Architecture
    • SOA Manifesto
    • Services
    • Service Model
    • Service Inventory
    • Service Portfolio
    • Service Candidate
    • Service Contract
    • Service Related Granularity
    • SOA Design Patterns

Services

    • Infrastructure as a Service IAAS
    • Platform as a Service PAAS
    • Software as a Service SAAS

Technologies

    • Web Services
    • WSDL, SOAP
    • SOAP with Attachments
    • XML, XML Schema
    • UDDI

Java API

    • JAX-WS - Java API for XML Web Services
    • SAAJ - Soap API with attachments for java
    • JAX-RPC, JAXB
    • JAXR for registries
    • JAXRS for restful Web services

WS-Standards

    • WS-Addressing
    • WS-BPEL
    • WS-Coordination
    • WS-Policy
    • WS-Reliable Messaging
    • WS-Security
    • WS-Transactions

REST

  • RESTful API design (Representational State Transfer) is designed to take advantage of existing protocols.
  • While REST can be used over nearly any protocol, it usually takes advantage of HTTP when used for Web APIs.

Resource Representations

  • XML and XML Schemas
  • JSON

Middleware

    • Enterprise Service Bus - ESB

Providers

    • Google Premier
    • Amazon Web Services

Service Oriented Architecture

Web Services

    • Web Services
    • WSDL, SOAP
    • SOAP with Attachments
    • XML, XML Schema
    • UDDI

Java API

    • JAX-WS - Java API for XML Web Services
    • SAAJ - Soap API with attachments for java
    • JAX-RPC, JAXB
    • JAXR for registries
    • JAXRS for restful Web services

Java Library

Resource Representations

    • XML and XML Schemas
    • WSDL
    • SOAP, SOAP with Attachments
    • JSON

Developer's Tools

    • Java Development Kit 1.7 or 1.8
    • Eclipse

Installation Guide

    • Install jdk to program files
    • Install eclipse to program files
    • Install apache axis2

Eclipse (Getting Started)

  • Eclipse | Windows Preferences | Java | Installed JRE | Add | jdk1.8.1
  • Import project (C:\WebServices\Test\workspace)
  • Double click build.xml
  • Right click run target

Projects and Applications

  • Applications
  • Desktop application: WebServices.jar
  • Web application: WebServices.war
  • Install applications to WebServices\Test\workspace
  • Install WebServices to WebServices\Test\workspace\WebServices

Web application

  • Unjar project (WebServices.war) to the WebServices\web directory
  • Start Apache Tomcat Server (default 8080)
  • Open WebServices (web browser: http://localhost:8080/WebServices)

Generate WSDL 2 Java

  • WebServices\Test\workspace\WebServices\web\wsdl
  • Double click axis2.xml
  • Right click run target (ws-gen)

Library

    • Service Oriented Architecture
    • SOA with Java
    • Java SOA Cookbook
    • Amazon Web Services in Action
    • AWS: Amazon Web Services Guide
    • Google-pedia