Derby Source Code Released 19
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."
Re:java (Score:5, Interesting)
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.
Re:java (Score:4, Informative)
It's called JIT, or Just In Time, compilation. Wanted to verify this name before I added it into a comment - I really shouldn't doubt myself.
T.
Re:java (Score:2)
This is really solid kit (Score:5, Interesting)
Re:This is really solid kit (Score:5, Interesting)
Re:This is really solid kit (Score:2)
Cloudscape history (Score:4, Informative)
And it's pretty lightweight (Score:5, Interesting)
Think what a swarm of databases might accomplish
Re:And it's pretty lightweight (Score:2)
And once you can store the data on the device, being able to organize and access it in a particular way -- so that a particular programming technique works -- is only of marginal importance.
Cloudscape... yeah, it's solid. (Score:4, Interesting)
Cloudscape is solid, though. I got to play with a demo install a while back before it went OSS. It's small, quick, and fast.
Re:Cloudscape... yeah, it's solid. (Score:3, Funny)
What's the difference between quick and fast?
Re:Cloudscape... yeah, it's solid. (Score:1)
compare to HSQL (Score:4, Interesting)
1) Is this better than HSQL? In particular, I found HSQL to be very solid except for their 1 GB data limit, which is always a problem. How does cloudscape handle large files?
2) Does anyone plan to finally get a database that rewrites its SQL into java code and then compiles it? Somebody was crazy enough to attempt this with C awhile ago, but for java it should be a no-brainer. Rewrite all the table objects to be specific classes with packed data, rewrite the rows to have packed data, accessor functions, and constraints built in. Rewrite the stored procs to be java code operating on the table objects, the list goes on. If you could do this (and granted, it's not easy) then you can javac up the source code, and let the JVM optimize the hell out of it.
You'd still need to do the query optimization yourself (the JVM isn't going to choose the proper join for you), but a dramatic increase in the constant time and space requirements would be available. No more casting Boolean and Double objects, just fast native and packed datatypes.
By the way, this is also the logical way to handle EJBs. Use reflection to analyze the
Let me know when they have that.
Re:compare to HSQL (Score:2)
Re:compare to HSQL (Score:1)
As with any comparison, this largely depends on exactly what you are using the database for and what feature set you require. There is some comparison of HSQL and Derby on the derby-user list [apache.org]. To sum up, Derby supports a number of features that HSQL does not, and HSQL has a slight advantage in speed and footprint.
2) Does anyone plan to finally get a database that rewrites its SQL into java code and then compiles it?
You're in luck. This is exactly what Derby does. The optimi
An "unused code" report.... (Score:2)
Looks like DataDictionaryImpl.java could use some trimming...