[Objectbridge-jdo-dev] did you already have a look at the JDO reference implementation ?
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2002-01-18 22:35:16
|
Hi all, I had a look at SUN's JDO Reference Implementation recently. They have implemented a File based implementation called FOStore. The RI contains a lot of things that maybe useful for us. A lot of things are kept completely generic and are not mixed with FOStore specific things. I found that there is even an abstraction of the underlying datastore. Its the interface com.sun.jdori.StoreManager: /** * StoreManager represents the datastore to the rest of the JDO components. * It provides the means to write and read instances, to get the extent of * classes, and to get the object id for a persistence capable object. */ From what I saw I came to the following working hypothesis: "We can build a OJB-JDO prototype by simply implementing a OJB PersistenceBroker based StoreManager implementation" 1. Do you agree ? Or did I miss something? All thoughts are welcome. 2. Is there anyone who would like to work on such a prototype? I'm quite busy with maintaining the main OJB distribution and supporting OJB users. That's why I can't spend much time on coding right now. But of course I'm availabe to dicuss design issues. I'm well aware that JDO is much more complex than ODMG. We will need much more in depth knowledge to implement JDO than to build an ODMG implementation. But: I also believe that learning by doing is a valid approach. When I started with the ODMG implementation I definitely had NO design concept. I started with simply writing empty implementations of all methods! (Have a look at the 0.1.1. and 0.1.9 releases to see how it all started...) That's all for the moment, cu, Thomas |