1 / 14

Presentation 8: SOAP in a distributed object framework, Application Servers & AXIS SOAP

Presentation 8: SOAP in a distributed object framework, Application Servers & AXIS SOAP . Outline. SOAP and Web Services in relation to Distributed Objects The AXIS Project – Open Source Java SOAP Server Introduction to the Apache Tomcat Application Server Introduction to the AXIS Project

riva
Download Presentation

Presentation 8: SOAP in a distributed object framework, Application Servers & AXIS SOAP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Presentation 8:SOAP in a distributed object framework, Application Servers & AXIS SOAP

  2. Outline • SOAP and Web Services in relation to Distributed Objects • The AXIS Project – Open Source Java SOAP Server • Introduction to the Apache Tomcat Application Server • Introduction to the AXIS Project • How to install

  3. SOAP & Web Services in relation to Distributed Objects

  4. SOAP and Distributed Objects • SOAP in it self has nothing to do with objects • There probably is SOAP API’s for C and COBOL • The trick is the supporting API’s converting objects to WSDL and SOAP for serialization across the network • Using the Proxy Pattern for decoupling – perhaps with the Façade Pattern for larger granularity • Emmerich: Accessing distributed objects is expensive • Use larger granularity • More on Architechure later in the course

  5. Proxy Pattern (GoF version) Watch abstract Client setTime() ProxyWatch TestWatch RealWatch setTime() setTime() setTime() Objects of RealWatch class are locateed on a different machine than the Client object. This is an example of Remote Proxy – which is an Architectural Pattern. from GoF GoF: Gang Of Four (Design Pattern bog af Gamma m.fl.)

  6. Proxy Pattern Client Server Proxy Proxy Pattern (B. Douglas version) Client component By encapsulating The SOAP communication in a Proxy, we have decoupled the Client Object from needing to know that it calls over The Internet. Thus making it easy to implement different Middleware and use the Server object locally Client Object SOAP Proxy Server object Server component We could do the same for The Server object Proxy (= en stedfortræder) BD.s212

  7. Façade Pattern (also GoF) Used for encapsulation and decoupling The entire Client Subsystem is decoupled from the server and a Client Proxy hides the SOAP implementation (also Server Proxy) This is known as Client Stubs & Server Skeletons

  8. Frameworks for Webservices &The AXIS Project – Open Source Java SOAP Server

  9. How to make a Webservice with SOAP • You need an application or API capable of supporting: • Communication over the Internet (HTTP) • Security (SSL) • XML Parsing capabilities • … • Two examples of this: • Apache Tomcat Application Server with AXIS • Microsoft Internet Information Server • We will use them both – though starting with the Apache Tomcat Application Server and the AXIS project – this will be introduced here

  10. Apache Tomcat Application Server • Apache Project is a open source project – widely supported by Sun & IBM (but not Microsoft) • Including a huge amount of free coding effort from both • It consist of a long range of projects including: • Apache Web Server • The most used web server in the world (and its free!) • The most secure, with SSL cap., and NT, Linux & UNIX support • Huge amount of ”plug-in” modules • One of theese being the Apache Tomcat AS • Apache Tomcat Application Server • Capable of running JAVA applications • JSP/Servlets • And projects embedded into this – • The AXIS Project • The former Apache SOAP Server • Runs embedded in Tomcat

  11. Apache Tomcat AS • Works on: • Windows, UNIX, LINUX, Mac • Can be compiled to any platform (with some work) • Can be found at: • http://jakarta.apache.org/tomcat/index.html • Server listening for events: • HTTP on port 8080 (optionel) • Executes Servlets/JSP and JAVA applications • AXIS is an embedded project within the Tomcat environment Common code base! SOAP Client Java, C++, C#, Delphi, VB Application Web Server Apache / MS IIS AS/SOAP Server (Tomcat with AXIS) JSP/ Servlet Object SOAP over HTTP Web Service Object

  12. AXIS Project • Provides us with a suitable framework • Runs embedded in Apache Tomcat – just download • http://xml.apache.org/axis/ • But can run on ANY Application Server • BEA, WebSphere, • Supports full WSDL • Supports SOAP communication via: • HTTP, SMTP, FTP and open for extension • Build in security, log, error and fault handling (some are still “under construction”) • Tools for WSDL Stub & Skeleton creation: • WSDL2Java & • Java2WSDL • Flexible deployment system

  13. The AXIS Project – How to Install

  14. How to Install • We do not need the Apache Web Server • As Tomcat has its own HTTP capabilities • Start with Apache Tomcat Application Server • http://jakarta.apache.org/tomcat/index.html • Test installation is OK • Then Install the AXIS Project • http://xml.apache.org/axis/ • I have prepared a brief installation help document to be found at the course web site

More Related