02.09.06
Spring.NET and db4o Integration roadmap
As previously stated, I am currently working on Spring.NET and db4o Integration.
This thread deals with some of my questions regarding what’s currently available in db4o that will allow me to do the job.
Here’s the likely roadmap :
- Create an equivalent of the JDBC “Datasource” : a Factory that allows to create connections regardless of their type (embedded, remote, etc). This will help to abstract the connection creation and provide different implementations (Basic, Pooled) of this creation.
- Create a Basic non-pooled implementation of this Db4oSource
- Implement a Db4oTemplate, probably based on Db4o Native queries (S.O.D.A not doable, unless something is changed on Db4o side)
- Implement the Db4oPlatformTransactionManager and its supporting Db4oUtils classes
- Some day, in the future, provide a Pooled implementation of the Datasource. Inspiration from Commons-DBCP will be necessary :
- A proxy should be created for Db4o ObjectContainer, that would mostly just delegate the processing to a real ObjectContainer, except for the Close(), which would tell the pool that the connection is available