I was looking very carefully at fostore, and found myself going in circles through the code without a good roadmap, like the one in the presentation that Erik sent.

What I was really interested in doing, besides learning how a JDO implementation uses a local store like fostore, was to learn how to use fostore directly in my applications. Found *no* information on that at all - still can't. So, I had hoped that by understanding the JDO reference implementation use of fostore, I would be able to utilize fostore directly. After weeks of sifting through code though I gave up.

The closest I got was that the Netbeans b-tree library is used somehow, but there is no documentation on that which I can find.

Cheers.

Richard


Craig L Russell wrote:
Hi Richard,

The fostore project at Apache JDO is an implementation that you could study for insights as to how the various components interact. There's a separation of an abstract StoreManager responsible for storing data to a specific datastore, a StateManager responsible for managing the state of individual instances, and a PersistenceManager whose API is pretty much defined in the JDO specification.

Regards,

Craig

On Jul 31, 2007, at 3:23 PM, Richard Schilling wrote:

I did realize that the JDO API and the model in the apache code was just the implementation of the spec. What I'm after is to make sure I understand what parts of the API (which interfaces) are used by a specific implementation to cause classes to be committed to the data store. It looks like the transactions defined in the spec serve this purpose, but there's so much information I can't be sure.

Thanks ... still getting my head around the JDO spec - I've even read the JDO book which I have.

Cheers.
Richard


Matthew T. Adams wrote:
Hi Richard,
Apache JDO is the home of the JDO API (the interface & class files of the specification) & TCK (the code that tests whether a JDO implementation is compliant with the specification); none of the code here actually writes to
a database*.  The reference implementation for JDO 2.0 is JPOX
(www.jpox.org) -- it is an implementation of the JDO 2.0 API.  There are
also many other implementations of JDO out there.
HTH,
Matthew
*: There is a legacy reference implementation called FOStore (pronounced like "foster") that was used as the JDO 1.0, but I don't think that's used
much anymore.  Others can comment on that.
-----Original Message-----
From: Richard Schilling [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 10:22 AM
To: [email protected]
Subject: greetings and question about data stores
Greetings.  This is my first post to the list.
I would like to know about the code base itself. There is not any documentation that discusses the structure of the code itself and how the software interacts with the data store. Can any one tell me what source code files actually contain the code that writes to the data store?
Thanks!
Richard Schilling


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!


Reply via email to