posted on Thursday, January 26, 2006 11:03 PM by chrisdonnan

db4o rocks

Db4o is just plain good technology.

Db4o is an open source [caveats] object database for Java and/ or .Net. It is purposeful, cool, fun, impressive, well coded - all sorts of good.

Dr Dobbs Journal. I did some work with Db4oaround 6 months ago and was quite impressed with it in general. That being said - there are a few just amazing points about db4o:

1) I persist my C# object and it can be re-hydrated in a Java client or a .Net client ....
2) Native queries are amazing - especially with anon-delegates in .Net 2.0 - they look like...
3) You can easily refresh in memory objects to get updated changes from other objects out there in the DB.
4) Many lovely query mechanisms.
5) Now - they have Hibernate based replication between relational DBs and the object db ( or multiple object DBs).

Anon-Delegates look like this:
delegate(Student student){
return student.Age < 20
&& student.Name.Contains("f");
}

You are simply telling the object DB that you want a 'Student' with a certain 'where clause'. The primary difference is that you are using ... the native language - not some stringy SQL code.

Anyhow - enough for db4o - when I can get back to really using it - I will update.

-Chris

Comments

# [Kudos] db4o rocks @ Tuesday, October 02, 2007 5:09 PM

Db4o is just plain good technology. Db4o is an open source [caveats] object database for Java and/ or

Anonymous

# Newsletter #18- V5.2 with Improved Performance; Free Whitepaper @ Friday, October 26, 2007 11:54 AM

* V5.2 Released: Improved Performance, Improved Querying
* db4o Replication System (dRS) Updated to V1.1
* New Whitepaper: Enabling the Mobile Enterprise with db4o
* Tutorials now Available for Visual Basic, in Japanese
* New Customers: Altana Pharma
* ODBMS.ORG Educational Portal Wins More Support

Anonymous