Jump to content

Apache Derby

From Wikipedia, the free encyclopedia
(Redirected from JavaDB)
Apache Derby
Original author(s)Cloudscape Inc (Later IBM)
Developer(s)Apache Software Foundation
Stable release
10.17.1.0 / November 14, 2023; 11 months ago (2023-11-14)
RepositoryDerby Repository
Written inJava
Operating systemCross-platform
TypeRelational Database Management System
LicenseApache License 2.0
Websitedb.apache.org/derby/

Apache Derby (previously distributed as IBM Cloudscape) is a relational database management system (RDBMS) developed by the Apache Software Foundation that can be embedded in Java programs and used for online transaction processing. It has a 3.5 MB disk-space footprint.[1]

Apache Derby is developed as an open source project under the Apache 2.0 license. For a time, Oracle distributed the same binaries under the name Java DB.[2] In June 2015 they announced that for JDK 9 they would no longer be doing so.[3]

History

[edit]

Apache Derby originated at Cloudscape Inc, an Oakland, California, start-up founded in 1996 by Nat Wyatt and Howard Torf to develop Java database technology. The first release of the database engine, then called JBMS, was in 1997. Subsequently, the product was renamed Cloudscape and releases were made about every six months.

In 1999, Informix Software, Inc., acquired Cloudscape, Inc.[4] In 2001 IBM acquired the database assets of Informix Software, including Cloudscape. The database engine was re-branded to IBM Cloudscape and releases continued, mainly focusing on embedded use with IBM's Java products and middleware.

In August 2004, IBM contributed the code to the Apache Software Foundation as Derby, an incubator project sponsored by the Apache DB project.[5] In July 2005 the Derby project graduated from the Apache incubator and is now being developed as a sub-project of the DB Top Level Project at Apache. Prior to Derby's graduation from incubation, Sun joined the Derby project with an intent to use Derby as a component in their own products,[6] and with the release of Java 6 in December 2006, Sun started packaging Derby in the JDK branded as Java DB.

In March 2007, IBM announced that they would withdraw marketing and support for the Cloudscape product, but would continue to contribute to the Apache Derby project.[7]

The Java DB database is Oracle's supported distribution of Apache Derby.[8]

Technologies

[edit]

Derby embedded database engine

[edit]

The core of the technology, Derby's database engine, is a full-functioned relational embedded database-engine, supporting JDBC and SQL as programming APIs. It uses IBM Db2 SQL syntax.

Derby Network Server

[edit]

The Derby network server increases the reach of the Derby database engine by providing traditional client server functionality. The network server allows clients to connect over TCP/IP using the standard DRDA protocol. The network server allows the Derby engine to support networked JDBC, ODBC/CLI, Perl.

Embedded Network Server

[edit]

An embedded database can be configured to act as a hybrid server/embedded RDBMS; to also accept TCP/IP connections from other clients in addition to clients in the same JVM.[9]

Database utilities

[edit]
  • ij: a tool that allows SQL scripts to be executed against any JDBC database.
  • dblook: Schema extraction tool for a Derby database.
  • sysinfo: Utility to display version numbers and class path.

See also

[edit]

References

[edit]
  1. ^ "Apache Derby". Apache.org.
  2. ^ Java DB - FAQs: "Is Java DB a fork of Apache Derby?"
  3. ^ Deferring to Derby in JDK 9
  4. ^ "Informix Completes Acquisition of Cloudscape, Inc". Business Wire. Berkshire Hathaway. October 11, 1999. Archived from the original on March 9, 2000. Retrieved October 12, 2019 – via Yahoo.com.
  5. ^ "Why IBM is open sourcing Cloudscape as Derby". IBM.
  6. ^ "Apache Derby graduates with Sun onboard". CNET news.com.
  7. ^ "Changes in Cloudscape Availability and Support". IBM.[permanent dead link]
  8. ^ "Relationship between Java DB and Apache Derby". docs.oracle.com. Retrieved 2023-05-01.
  9. ^ see Embedded Server Example in http://db.apache.org/derby/docs/10.4/adminguide/

Bibliography

[edit]
[edit]