ArticleslgStudy

computer science

Apache Derby

Apache Derby is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Apache Derby rather than just read about it. In short: Apache Derby (previously distributed as IBM Cloudscape) is a (retired) 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.

Apache Derby — main illustration
Apache Derby — illustration

Key takeaways

  • Apache Derby belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Apache Derby to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Apache Derby from memory before moving on to harder problems.

Reference excerpt

Apache Derby (previously distributed as IBM Cloudscape) is a (retired) 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. 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. In June 2015 they announced that for JDK 9 they would no longer be doing so. In October 2025 Derby developers voted to retire the project and stop supporting it.

History 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. 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. 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, 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. The Java DB database is Oracle's supported distribution of Apache Derby.

Technologies

Derby embedded database engine 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 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 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.

Database utilities 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

List of relational database management systems Comparison of relational database management systems H2 HSQLDB

References

Bibliography

External links Official website Internals of Derby, An Open Source Pure Java Relational Database Engine deployable in an embedded OSGi environment Oracle Java DB Site Why IBM is open sourcing Cloudscape as Derby, IBM developerWorks site Apache Derby performance results in the JPA Benchmark Compliance matrix with SQL 2003 Configure and Install Derby Database Archived 2016-04-17 at the Wayback Machine

Worked examples

Example 1 — a first encounter with Apache Derby

Start with the simplest possible case. Write down what Apache Derby claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Apache Derby before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Apache Derby ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Apache Derby

In research
Apache Derby appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Apache Derby in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Apache Derby is common in secondary-school and first-year university syllabi. It links to neighbouring topics Apache Software Foundation projects, Free database management systems, Free software programmed in Java, so understanding it makes those chapters shorter.
In everyday life
Look for Apache Derby outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Apache Derby” →

How to study Apache Derby in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Apache Derby means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Apache Derby out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Apache Derby in simple terms?

Apache Derby (previously distributed as IBM Cloudscape) is a (retired) 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.

Why does Apache Derby matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Apache Derby?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Apache Derby.

Tags

  • Apache Software Foundation projects
  • Free database management systems
  • Free software programmed in Java
  • IBM software
  • Software using the Apache license

Keep exploring