Sun Java Solaris Communities My SDN Account Join SDN
 

Java DB Reference

Java DB Get Java DB

There are many technical articles available to introduce you to different features and uses of Java DB. Browse all articles using the Subject Index below, or get started quickly with the spotlighted articles.


[spacer]

Spotlight

Using Java DB in Desktop Applications
by John O'Connor, Java Technology evangelist, engineer, and writer at Sun Microsystems

Java DB is lightweight at 2 megabytes and embeddable within desktop Java technology applications. Desktop applications can now access powerful database storage with triggers, stored procedures, and support for SQL, Java DataBase Connectivity (JDBC) software, and Java Platform, Enterprise Edition (Java EE), all embedded within the same Java virtual machine (JVM).

This article describes how to download, install, integrate, and deploy Java DB within desktop Java technology applications. A demo application called Address Book demonstrates how to work with Java DB as an embedded database.


Join the Derby Users Discussion Forum

Apache Derby has an active community of users and developers who provide advice and respond to questions by new and experienced users.

Join derby-user@db.apache.org to post questions and see what others are asking. You can also browse the mailing list archive.

For more information, see Apache Derby: Mailing Lists.


Tutorials, Tips and Tuning


Getting Started

Back to top


Features, Hints and Tips

Back to top


Performance and Tuning

  • Tuning Derby by Dejan Bosanac, Software developer, technology consultant and author, ONJava.net
    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. Usually, you would not address these database performance issues early in the development process, but when the time comes, you should take some action to ensure that the application is working correctly with large amounts of data.

Back to top


Tools and Migration


Tools

Back to top


Migration

  • Migrating Your Application to Use Java DB by Francois Orsini, Java DB Evangelist Extraordinaire, Sun Microsystems, Sun Developer Network
    In this article, you take a Web application that was developed using the PointBase database and migrate it to use Java DB.

  • Using DdlUtils to Migrate Databases to Derby
    DdlUtils, an Apache DB subproject, provides utilities for creating and working with Database Definition (DDL) files and for exporting and importing data in XML format. Among other uses, DdlUtils makes it easier to migrate from one database vendor to another. This paper provides a simple example for using DdlUtils to migrate a database to Derby using the DdlUtils Ant tasks.

Back to top


Applications


Client

Back to top


Middle Tier

Back to top


Persistence

  • Using JPOX JDO with Derby
    Provides a concrete example of using JPOX JDO to persist and retrieve data to and from Apache Derby. Java Data Objects (JDO) is a specification for persisting Java objects.

  • Running the Torque Tutorial on Derby
    This page summarizes the changes required to run the Torque 3.2 tutorial on Derby 10.1 using the Derby embedded JDBC driver.

  • HibernateHelp
    This wiki page documents various peoples' experience using Hibernate with Derby.

Back to top


Scalability and Failover

Back to top

     
Related Links
 
»  Send Comments

Let us know what you like and don't like about the Java DB site. Send us feedback. Please send product questions to the Apache Derby mailing lists. For technical support, see the support page.