db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: greetings and question about data stores
Date Tue, 31 Jul 2007 22:42:18 GMT
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.



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:rschilling@cognitiongroup.biz]  
>> Sent: Tuesday, July 31, 2007 10:22 AM
>> To: jdo-dev@db.apache.org
>> 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:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!

View raw message