API

JOB defines a few interfaces, two exception classes, and a helper class which wraps an object array. The programming model is quite easy to learn:

First, a JOB factory instance has to be created. JOB factories are intended to create JOB sessions. JOB sessions are connections to JOB instances and provide transactional support. They are used to create and to retrieve JOB maps. JOB maps manage persistent objects which are stored together with keys used as object identities. JOB defines separate persistent maps for application identity and for datastore identity. Below six steps are summarized, which JOB applications must perform in order to manage persistent data:

  1. Create a factory instance.
  2. Create a session instance.
  3. Create/retrieve a persistent map instance.
  4. Put/get/remove objects into/from persistent maps.
  5. Close the session instance.
  6. Close the factory instance.