PDA

View Full Version : Java Databasing


enigm4
7th August 2004, 04:33 AM
Is there a program thats easy to use (i.e. Microsoft Access) that writes a database in Java so that it can be platform-independant?

I want to find out how to make one or learn how to code one.

Thanks

crackers
7th August 2004, 05:02 AM
There are several out there already - Hypersonic, Cloudscape (recently released by IBM to the Apache Foundation).

tomwitmer
7th August 2004, 06:28 AM

I really like mckoi, at http://www.mckoi.com. It stores everything as Java binaries, if I understand it correctly. It's released under the GPL, but doesn't impact your code's licensing unless you embed it in your application. (Check the updated FAQ to verify that, but that's the last I knew.) I've been pretty happy with it performance-wise, although my DBs tend to be only a few MB in size.

While you're at it, check out Hibernate (http://www.hibernate.org/) for a persistence layer on top of McKoi (or Oracle, or whatever DB you use). The initial learning curve is a bit steep, but reading through the examples and tutorials should get you there. From what I understand, a number of Hibernate's concepts are making their way into EJB 3.0, but I don't know if that's intentional or coincidental.

crackers
7th August 2004, 07:12 AM
From what I understand, a number of Hibernate's concepts are making their way into EJB 3.0, but I don't know if that's intentional or coincidental.
Because of the whining of marginalized JDO weenies? (I'm kidding!!!!)

Actually it's only slightly coincidental - O/R mapping is an extremely widely discussed topic and there's been lots of attempts to "get it mostly right." (Anyone remember TopLink fondly?) Evolutionary approaches will tend to converge as the "best" solutions get adopted by others in the same "genotype."

enigm4
7th August 2004, 12:34 PM
thanks, checkign them out now....