Page tree
Skip to end of metadata
Go to start of metadata

Summary

The OSIDs (available from osid.org) are the service interface definitions. This wiki has information about the OSIDs and the Okapia open-source implementation.

Try An Example

Clone a sample application and OSID Provider:

% git clone git://git.assembla.com/osid-sample.git
% cd osid-sample
% make run

If you count nine planets, your OSID environment is working. Anything less would be a serious problem.

What It Does

OSID Consumer

net.okapia.osid.sample.Test illustrates the basics of consuming an OSID. 

  • Starting up the OSID Runtime environment.
  • Loading a Resource OSID Provider
  • Getting some stuff from it.

OSID Provider

The OSID Resource Provider is net.okapia.osid.sample.providers.resource.solarsystem. It demonstrates the basics of an OSID Provider using the Okapia OSID implementation framework.

  • An OsidManager.
  • Setting up the identity of the service provider.
  • Implementing a simple OsidSession.
  • Implementing an OsidRecord attached to an OsidObject.

Configuration

An example configuration for this OSID Resource Provider is net.okapia.osid.sample.providers.resource.solarsystem.ResourceManager.xml. 

  • No labels