Client%20Side%20Library - PowerPoint PPT Presentation

About This Presentation
Title:

Client%20Side%20Library

Description:

helps application developers enforce architecture rules ... Source: hostA Sink: hostB. VK: isSender. PAssertions. Provenance. Store Server. CSL ... – PowerPoint PPT presentation

Number of Views:15
Avg rating:3.0/5.0
Slides: 9
Provided by: PG70
Category:

less

Transcript and Presenter's Notes

Title: Client%20Side%20Library


1
Client Side Library
  • Dr. Sheng Jiang
  • Provenance Team
  • sj_at_ecs.soton.ac.uk

2
Concept and role of CSL
  • Client Side Library (CSL) is a collection of
    functions, which
  • allows provenance-aware applications to
    communicate with provenance store services
  • helps application developers enforce architecture
    rules
  • An implementation of the CSL should contain at
    least one of query library, record library and
    management library
  • CSL is intends to be embedded as part of
    provenance-aware applications

3
Interaction of Application
Host A
Host B
Message
Actor A
Actor B
4
Provenance-aware Application
Host A
Host B


Actor A
Actor B
5
Layered Model of CSL
Applications
Client Side Library
Provenance Store Server
Server API
6
Server API
  • Defined our provenance store interface in several
    WSDL files
  • WSRF compatible
  • Generated stubs from these WSDL
  • Using WSDL2Java from the GT4
  • Used as server API
  • Security is not enabled yet
  • Too complicated to be used by application
    developers

7
Application API
  • Simple interfaces and data structures
  • Re-usable information
  • Helper facilities
  • Relationship helper
  • Documentation style helper, Policy helper,
    P-Header helper, Tracer helper (not available
    yet)
  • Is Mapped to the server API using utilities

8
Simple Example
  • ProvenanceService ps new ProvenanceServiceImpl
    (recordPort, xQueryPort, pQueryPort)
  • InteractionRecord irInstance ps.newInteractionRe
    cord (msgSink, msgSource, asserter, viewKind)
  • GlobalPAssertionKey gpakIPA irInstance.addIntera
    ctionPAssertion(message, documentationStyle)
  • RecordResult rResult irInstance.record()
Write a Comment
User Comments (0)
About PowerShow.com