Getting Started with Derby
- Derby: A Database for All Seasons
- What Is Derby?
- How to Use Derby
- Setting Up Your CLASSPATH
- Testing Your Setup
- Running Your First Derby Program
- Derby Application Components
- Derby Application Startup
- Loading the Derby Driver
- Database and Connection Creation
- Statement Creation
- Table Creation
- Table Access
- Shutdown
- Running the Code
If Derby were the only product to come out of the open source arena, I think I’d be happy with that! That’s an exaggeration of course, but it points to the importance of Derby. Database technology has traditionally occupied an exalted and expensive position in the world of software. The advent of Derby ends this dominance and opens up the database field to us all. Sun Microsystems has already released its own distribution of Derby called JavaDB. So, you’re likely to be hearing more about Derby as time goes on.
Derby: A Database for All Seasons
In this article, I want to introduce you to Derby and get you started using the product with a simple Java program. Before we get started, let’s get some background information out of the way.