Java DB

At a Glance 

Technical Articles


White Papers

Technical Articles

From basic to advanced, these technical articles give you the information you need to use Java DB successfully and efficiently.


June, 2009

Introducing Java DB
Rick Hillegas, JavaDB Technical Lead, Sun Microsystems

Learn about in-memory databases, generated columns, and other new features in Java DB 10.5.1 from Rick Hillegas, the Java DB technical team lead at Sun Microsystems.

Read More

June, 2009
Working with the Java DB (Derby) Database -- NetBeans IDE 6.7 Tutorial

This document demonstrates how to quickly set up a connection to Sun's Java DB (which is based on the Apache Derby database) in NetBeans. Once a connection is made, you can easily begin working with the database in the NetBeans IDE, allowing you to create tables, populate them with data, run SQL queries, and more.

Read More

January 31, 2007
Tuning Derby
Dejan Bosanac, Software Developer, Technology Consultant and Author,

"There is a big difference in the behavior of a database when it is populated with a small amount of test inputs and when it holds a large amount of data... [and] you should take some action to ensure that the application is working correctly with large amounts of data... First of all, there are various tips on how you should tune Derby properties such as page size and the size of the cache... but usually the bigger problem lies in your application and database design, so you should focus on these issues first and leave Derby properties for the end. In the following sections, I will cover some techniques that can help you optimize problematic parts of your application."

Read More

January 16, 2007
Synchronizing a Web Client Database: LocalCalendar and Google Calendar
David Van Couvering, NetBeans Architect, aka, the NetBeans Database Guy, Sun Microsystems,

"Rich Internet Applications (RIAs) are becoming more and more popular as the capabilities available to Internet clients increase. There is a growing demand for RIAs to be able to store rich, structured, searchable data on the same machine as the web browser, and to be able to synchronize this data with a centralized data store running behind the web server." This article explains how to do this.

Read More

November 8, 2006)
Java databasing with Derby, Java's own open source database
Pan Pantziarka, Reg Developer

"This tutorial will concentrate mainly on using Derby as an embedded database for a Java application. In other words Derby will be used as a persistent data store, and it is the application which will manage the database. This is in contrast to client/server mode, where the database is loaded onto a server and waits for client applications to connect to it. If you add to its simplicity of setup, ease of use, and small footprint, the fact that Derby supports referential integrity and ACID-compliant transactions, you have a pretty powerful database tool for your Java applications."

Read More

Implementing Java DB as an Embedded Cache to Support Service
Jason Baragry, Sun Client Solutions Engineer in Oslo, Norway

This article describes how Java DB can be used as an embedded database to act as a cache for services deployed in the Sun Java System Application Server. This is particularly useful if:

  • A read-only Service must exist to return information to external clients
  • The information changes quite slowly
  • That data exists in a legacy backend system.
  • The cost of communicating with the legacy system is relatively high. This can be because of communication time and financial cost because the legacy system may be remotely hosted.

Using Java DB as a cache for the results of the Service calls in the Service itself to limit the amount of communication with the legacy systems, eliminating costs associated with communicating with a legacy system.

Read More

Left Curve
Java SDKs and Tools
Right Curve
Left Curve
Java Resources
Right Curve
Duke's Choice Awards Nomination RHS

VTS OnDemand RHS Banner

  Java 8 banner (182)