Compass - JDO
JDO
JDO is a standard interface-based Java model abstraction of persistence. JDO persist POJO (Plain Old Java Objects), or a rich domain model to the database based on a set of mapping definitions (ORM).
An ORM tool is a natural match to Compass OSEM features. A simple Compass::Gps device that can index all the data that has both OSEM and ORM mapping definition can be easily developed, and if the ORM tool provides support for events, then mirroring can be supported as well.
Note that most, if not all of the time, enabling full text search on the application domain model when using Jdo will not require any coding.
The following are the features for the Compass::Gps Jdo device:
- Index Operation: For objects (classes) that has both ORM and OSEM definitions, both the JdoGpsDevice and the Jdo2GpsDevice (Jdo ver 2 spec) can index all the relevant data.
- Mirror Operation: For objects (classes) that has both ORM and OSEM definitions, Jdo2GpsDevice (Jdo ver 2 spec) based on the new event mechanism for updated/created/deleted events can mirror any data changes made to using the ORM tool to the index (Compass::Gps calls it "Passive Mirror Device").
