Download presentation
Presentation is loading. Please wait.
Published byZachary Harrison Modified over 11 years ago
1
EDBT04 – A Framework for Context-Aware Adaptable Web Services1 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 @db.fmi.uni-passau.de
2
EDBT04 – A Framework for Context-Aware Adaptable Web Services2 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 Client Location Insert Stylesheet MyBook Web Service Convert Currency
3
EDBT04 – A Framework for Context-Aware Adaptable Web Services3 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
4
EDBT04 – A Framework for Context-Aware Adaptable Web Services4 The Context Model 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 Context Block Context Type: Location Context Type: Client
5
EDBT04 – A Framework for Context-Aware Adaptable Web Services5 Context in a SOAP Message SOAP Envelope SOAP Header SOAP Body Header Block: Context Context Block Header Block <Context xmlns="http://sg.fmi.uni-passau.de/context"> http://example.com/PDA 320x320 Yes
6
EDBT04 – A Framework for Context-Aware Adaptable Web Services6 Service Platform Context Life-Cycle SOAP Response Web Service Context Client SOAP Request ClientLocation Stylesheet Insert Stylesheet Convert Currency
7
EDBT04 – A Framework for Context-Aware Adaptable Web Services7 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
8
EDBT04 – A Framework for Context-Aware Adaptable Web Services8 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
9
EDBT04 – A Framework for Context-Aware Adaptable Web Services9 Example Scenario ClientLocation StylesheetFinder Context Plugin UDDI Repository CurrencyConverter Context Service MyBook Web Service Client CurrencyInfo Web Service
10
EDBT04 – A Framework for Context-Aware Adaptable Web Services10 Thank you for your attention!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.