Book description
Learn installation, configuration, management, and security
Delve deeper with coverage on SQL, troubleshooting, application development, and more
Master Apache Derby: the only open source, pure Java™, fully transactional, small-footprint RDBMS
Apache Derby is the world's only enterprise class open source, pure Java, fully transactional relational database. It's small enough to be embedded directly into your Java applications, providing a local data store that requires no DBA support. Powerful enough to support a wide range of traditional applications, this database ships as the default database for WebSphere Application Server and more than fifty other IBM software products. Apache Derby is built on the mature IBM Cloudscape code base IBM recently contributed to the open source community. The IBM Cloudscape code was nominated and won Developer.com's Product of the Year 2005 award.
Now, IBM's own database experts have written a comprehensive guide to making the most of Apache Derby—and its commercial counterpart, IBM Cloudscape— in any development or production environment. This book systematically introduces the Apache Derby/IBM Cloudscape technology: where it fits and how to install and configure it—and how to build robust business applications and Web services with it, one step at a time.
Coverage includes
Comparing Apache Derby with the commercial IBM Cloudscape offering
Deploying Apache Derby/IBM Cloudscape to support development and production environments, client/server environments, multi-threaded applications, and Web servers
Integrating Apache Derby/IBM Cloudscape into a completely open source development environment
Specific instruction on installing Apache Derby/IBM Cloudscape on Windows® and Linux® workstations—with tips on how to install the code on any platform that has a supported JVM
Understanding how programming languages interact with Apache Derby/IBM Cloudscape
Building complete sample applications step-by-step in JDBC, Windows (ODBC and .NET), PHP, Perl, and Python
Managing and securing Apache Derby/IBM Cloudscape databases
Writing SQL code for creating, retrieving, and updating data
Troubleshooting installations, databases, and applications
This book has a companion Web site that contains links to the IBM version of Apache Derby and other downloadable code, documentation, articles, and other resources to give the reader a deeper understanding of some of the features available in Apache Derby.
ibmpressbooks.com/title/0131855255
www-306.ibm.com/software/data/awards/
© Copyright Pearson Education. All rights reserved.
Table of contents
- Copyright
- IBM Press
- Preface
- Acknowledgments
- About the Authors
-
Introduction
-
On Your Marks … Get Set … Go!!! An Introduction to the Apache Derby and IBM Cloudscape Community
- Introduction
- Let Me Get This Straight, Apache Derby Is IBM Cloudscape?
- Development of the Apache Derby Database—Who Can Contribute and How?
- How Can IBM Sell a Product for Profit and Contribute the Same Product to the Open Source Community?
- How an Open Source Database Like Apache Derby Can Help
- Why the Need for a Local Data Store?
- Why Use a Relational Database?
- How the Apache Derby Platform Can Help Your Business
- A High-Level View of the Apache Derby Database
- The Apache Derby Components
- Developing Apache Derby Applications
-
On Your Marks … Get Set … Go!!! An Introduction to the Apache Derby and IBM Cloudscape Community
-
Apache Derby Database and SQL
- Deployment Options for Apache Derby Databases
- Apache Derby Databases
-
Installing Apache Derby and IBM Cloudscape on Windows
- Migration from Previous Versions of Cloudscape
- Before You Begin
- Using the Windows Installer to Install IBM Cloudscape on Windows—Attention Developers!
- Installing Apache Derby or IBM Cloudscape on Windows Manually
- Verifying the Installation
- Troubleshooting an Installation
- Odds and Ends About Your Installation
-
Installing Apache Derby and IBM Cloudscape on Linux
- Migration from Previous Versions of Cloudscape
- Before You Begin
- Using the Linux Installer to Install IBM Cloudscape on Linux—Attention Developers!
- Installing Apache Derby or IBM Cloudscape on Linux Manually
- Verifying the Installation
- Troubleshooting an Installation
- Odds and Ends About Your Installation
- Managing an Apache Derby Database
- Security
- SQL
-
Developing Apache Derby Applications
-
Developing Apache Derby Applications with JDBC
- Introduction
- JBDC Program Structure
- JDBC Imports
- Using Embedded JDBC Drivers
- IBM DB2 JDBC Universal Driver for Derby
- Establishing a Database Connection
- Connecting with DB2 JDBC Drivers
- Allocating Statements
- Executing Dynamic SQL
- Trapping SQLExceptions
- SQLWarnings Versus SQLExceptions
- Retrieving Query Results
- Retrieving Column Values
- Dynamically Determining Result Sets
- Prepared Statements
- AUTOCOMMIT, COMMITs, and ROLLBACKs
- Batching Requests
- Using Result Sets to Modify Data
- Setting a Column to Null
- Inserting and Updating Large Objects
- Stored Procedures
- User-Defined Functions
- Apache Derby Applets
- Locking Considerations
- Summary
- Developing Apache Derby Applications with Perl, PHP, Python, and ODBC
-
Developing Apache Derby Applications with JDBC
-
“Your Momma Loves Drama” in Applications
-
“Your Momma Loves Drama” in JDBC
- Introduction
- Your Momma Loves Drama Database
- The Your Momma Loves Drama Application
- YMLD Overview
- Installing the YMLD Application
- YMLD Initialization
- Connecting to the YMLD System
- Current Performances at the Theater
- Seat Pricing
- Theater Seat Map
- Purchase Tickets by Performance
- View Transaction Log
- Exit Routine
- Summary
- “Your Momma Loves Drama” in Windows
- “Your Momma Loves Drama” in PHP
- “Your Momma Loves Drama” in Perl
- “Your Momma Loves Drama” in Python
-
“Your Momma Loves Drama” in JDBC
- Appendices
- Index
Product information
- Title: Apache Derby—Off to the Races: Includes Details of IBM® Cloudscape™
- Author(s):
- Release date: October 2005
- Publisher(s): IBM Press
- ISBN: 9780131855250
You might also like
book
Mastering JavaFX 10
Design modern, rich interfaces for Java apps using JavaFX 10 About This Book Become a pro …
video
JavaFX Programming, Part I
Overview Description All lessons walk viewers through JavaFX code examples to reinforce the important concepts. The …
audiobook
Difficult Conversations
You have to talk with a colleague about a fraught situation, but you're worried that they'll …
book
Learn Spring for Android Application Development
A hands-on guide to Android programming with Spring MVC, Spring Boot, and Spring Security Key Features …