1 / 8

Client Side Library

Client Side Library. Dr. Sheng Jiang Provenance Team sj@ecs.soton.ac.uk. 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

ilori
Télécharger la présentation

Client Side Library

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. Client Side Library Dr. Sheng Jiang Provenance Team sj@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. Message (embedded p-header) Source: hostA Sink: hostBVK: isSenderPAssertions CSL Source: hostA Sink: hostBVK: isReceiverPAssertions CSL ProvenanceStore Server ProvenanceStore Server Provenance-aware Application Host A Host B Actor A Actor B

  5. Application API Utilities 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.newInteractionRecord (msgSink, msgSource, asserter, viewKind) GlobalPAssertionKey gpakIPA = irInstance.addInteractionPAssertion(message, documentationStyle) RecordResult rResult = irInstance.record()

More Related