Opinion: The Apache Derby open-source database, a hot embedded database, is going to make a world of difference to the AJAX community now that Sun has rolled out its Java DB derivation.
The AJAX community is dubbing Java DB open-source database a crucial next step for this hot new Web development language.
For its part, Java DB, a distribution of the Apache Derby open-source embedded database, like all databases, is server-side.
Putting the two together is where the magic happens, as was demonstrated during a keynote at the Apache Software Foundations ApacheCon in San Diego on Tuesday.
During the keynote, Tim Bray, director of Web Technologies at Sun and XML specification co-editor, said that Sun was incorporating the open-source Java DB into the Sun Java Enterprise System and providing additional support for the database with the NetBeans IDE (integrated development environment) 5.0 plug-in.
Ted Leung, a member of the ASF (Apache Software Foundation) who works at the OSAF (Open Source Applications Foundation), wrote on his blog that this introduction of a database with the rich functionality of Apache saved him from wandering the ApacheCon halls in a jaded daze.
"I was disappointed when [Bray] said that he was going to make a product announcement, and I was unenthusiastic when the announcement turned out to be about a Sun version of Derby," Leung wrote.
That all changed about a minute into the demo by Francois Orsini, an engineer at Sun, Leung said. Orsini is a long-time engineer for Cloudscapethe IBM-donated database from which Derby derivesand works on Derby at Sun.
The demo that changed Leungs mind showed how Derby can be used as a local store for Firefox. Orsini showed Derby running within a Firefox window.
Click here to read about how businesses can benefit from open code.
The demo displayed a simple tax form application. Orsini showed how a user could fill in a form, quit or crash the browser, and have the data returned upon restarting the Web application, thus allowing temporarily disconnected use of a database by a browser-based application.
"Adam Bosworth has previously written about the need for local synchronizable storage for the Web browser, and I know that the Mozilla folks have been investigating embedding SQLite, for just these sort of reasons," Leung wrote.
"That effort is slated for Mozilla 1.5 or later. It seems to me that what Francois has done is to make that capability available today. I spent some time talking with Francois over lunch, and it turns out that he also has some code that wraps Derby in a way that is AJAX-friendly, which means that AJAX applications can do similar tricks without needing [to] use the embedded Java support.
Next Page: A cool combination.
Lisa Vaas is News Editor/Operations for eWEEK.com and also serves as editor of the Database topic center. Since 1995, she has also been a Webcast news show anchorperson and a reporter covering the IT industry. She has focused on customer relationship management technology, IT salaries and careers, effects of the H1-B visa on the technology workforce, wireless technology, security, and, most recently, databases and the technologies that touch upon them. Her articles have appeared in eWEEK's print edition, on eWEEK.com, and in the startup IT magazine PC Connection. Prior to becoming a journalist, Vaas experienced an array of eye-opening careers, including driving a cab in Boston, photographing cranky babies in shopping malls, selling cameras, typography and computer training. She stopped a hair short of finishing an M.A. in English at the University of Massachusetts in Boston. She earned a B.S. in Communications from Emerson College. She runs two open-mic reading series in Boston and currently keeps bees in her home in Mashpee, Mass.