Version 3 (modified by 14 years ago) ( diff ) | ,
---|
caTissue Client API
The client API is a way of extending the caTissue application. Jeff suspects the aim is to achieve more functionality within caTissue with less effort from the official development team.
The 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.
Here is some pseudo code what a client must do to register a new participant, with comments:
- Locate caTissue application service.
- Start a session within caTissue. This is just like any other interaction. There is the possibility of time out with inactivity.
- Use application service to retrieve local copy of CollectionProtocol.
- 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.
- Use application service to pass Participant to caTissue. After this action, the Participant exists in the database.
Attachments (1)
-
API2caTissue.xlsx
(18.4 KB
) - added by 14 years ago.
Excel mock-up of inputs to API processes.
Download all attachments as: .zip