Changes between Version 2 and Version 3 of LEGACY - CaTissueClientAPI


Ignore:
Timestamp:
11/26/10 10:38:33 (14 years ago)
Author:
jeff.lusted
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LEGACY - CaTissueClientAPI

    v2 v3  
    44
    55The client API allows you to use caTissue's domain objects (like Participant or Specimen) within another application (the client). All of the domain objects are serializable Java classes. The modus operandi is for the client to create or retrieve one of these and pass back the object to caTissue. The object gets serialized over the network for this to work.
     6
     7Here is some pseudo code what a client must do to register a new participant, with comments:
     8
     9  1. Locate caTissue application service.
     10  1. Start a session within caTissue. This is just like any other interaction. There is the possibility of time out with inactivity.
     11  1. Use application service to retrieve local copy of !CollectionProtocol.
     12  1. Create local copy of Participant and initialize according to the !CollectionProtocol requirements. This is quite an involved process requiring knowledge of the caTissue business model.
     13  1. Use application service to pass Participant to caTissue. After this action, the Participant exists in the database.