Derby Source Code Released
Matt Rosenberger writes "Over a month ago, IBM donated the source code to Cloudscape (now dubbed Derby) to the Apache Software Foundation. Last week, the Apache Incubator Project released a snapshot of the source code to Derby. Derby is an open-source embedded database written in Java."
This is really solid kit even though they are positioning it as a light weight embedded version. IBM ships WebSphere Portal 5 with Cloudscape (now Derby) as the default installed database, BEA Portal use to as well (not sure if they still do). Of course there was always an option to move to DB2 or Oracle later if you want... For anyone pounding out those department level applications, this is fantastic. I suspect this could be another Tomcat, as there are more sophisticated databases out there but this one is easy to set up and just works.
+++ UGUCAUCGUAUUUCU
A lot of JVMs these days do a recompilation of the code in memory when it is first executed so that it will run as native code. The first time the code is run, it is 're-compiled' to the machines local instruction code, and cached in memory. All subsequent times the code is run, it is run natively.
The code may still run a little slower, but it's only a little bit slower. An RDBMS won't have a problem running in Java.
The advantage is, then, that you can use any platform you care to use to host your database. No more paying out a Windows licence, and a Linux licence, and a Solaris licence, just because various projects are going to be running on different platform.
T.
Cloudscape Inc was founded in 1996 and acquired by Informix Corp in september 1999. IBM got Cloudscape in 2000 when it bought Informix.
-- Qu'est-ce que la propriété intellectuelle? It is thought control.
As more and more embedded devices are capable of running Java, having a lightweight database right in the device can certainly enable some programming techniques that typically you might offload to a more-capable server. Derby is lightweight enough that you can fit it in many such resource-challenged environments.
... especially if you don't have to synchronize those tuple spaces ...
Think what a swarm of databases might accomplish