1 / 10

A Framework for Context-Aware Adaptable Web Services

A Framework for Context-Aware Adaptable Web Services. Markus Keidl and Alfons Kemper Universität Passau Fakultät für Mathematik und Informatik 94030 Passau <lastname>@db.fmi.uni-passau.de. Insert Stylesheet. Client. MyBook Web Service. Location. Convert Currency. Client.

Download Presentation

A Framework for Context-Aware Adaptable Web Services

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. A Framework for Context-Aware Adaptable Web Services Markus Keidl and Alfons Kemper Universität Passau Fakultät für Mathematik und Informatik 94030 Passau <lastname>@db.fmi.uni-passau.de EDBT’04 – A Framework for Context-Aware Adaptable Web Services

  2. Insert Stylesheet Client MyBookWeb Service Location Convert Currency Client The Context Framework • Context: Information about clients and their environment that is used by Web services to provide clients with a customized and personalized behavior • Examples: client location or device type EDBT’04 – A Framework for Context-Aware Adaptable Web Services

  3. Features of the Context Framework • Separation of functional duties into external components: context plugins and context services • Transparent and automatic usage of these components • Generic solution, i.e., components are usable for a variety of Web services EDBT’04 – A Framework for Context-Aware Adaptable Web Services

  4. Context Type:Location Context Type:Client The Context Model Context • Context consists of several context blocks • A context block is associated to one context type • A context type defines the type of context information in a context block, e.g., location, client device • At most one context block is allowed for a context type within a context • Context is transmitted as a SOAP header block Context Block Context Block EDBT’04 – A Framework for Context-Aware Adaptable Web Services

  5. Header Block: Context Context Block Context Block Context in a SOAP Message <env:Envelope xmlns:env="..."> <env:Header> <Context xmlns="http://sg.fmi.uni-passau.de/context"> <Client> <Hardware> <Defaults> http://example.com/PDA </Defaults> <ScreenSize>320x320</ScreenSize> <IsColorCapable>Yes</IsColorCapable> </Hardware> </Client> </Context> </env:Header> <env:Body> <!-- serialized object data --> </env:Body> </env:Envelope> SOAP Envelope SOAP Header Header Block SOAP Body EDBT’04 – A Framework for Context-Aware Adaptable Web Services

  6. SOAP Request SOAP Response Context Life-Cycle Client Location Service Platform Web Service Context Context Client Stylesheet Insert Stylesheet Convert Currency EDBT’04 – A Framework for Context-Aware Adaptable Web Services

  7. Automatic Context Processing • Processing of context blocks within a SOAP message in arbitrary order • Invocation of appropriate context plugins and context services • Context plugins and context services: • Associated to one dedicated context type • Input: context block and message • Output: possibly modified message EDBT’04 – A Framework for Context-Aware Adaptable Web Services

  8. Components for Context Processing • Context plugins: Java objects implementing the ContextPlugin interface • Installation on local host • Access to internal data structures of service platform • Context services: Web services implementing the ContextService WSDL interface • Available anywhere on the Internet • Extendible at runtime • Only access to context and Web service messages EDBT’04 – A Framework for Context-Aware Adaptable Web Services

  9. UDDIRepository Example Scenario Client Location MyBookWeb Service Client CurrencyInfoWeb Service CurrencyConverterContext Service StylesheetFinderContext Plugin EDBT’04 – A Framework for Context-Aware Adaptable Web Services

  10. Thank you for your attention! EDBT’04 – A Framework for Context-Aware Adaptable Web Services

More Related