 | Level: Intermediate Christopher Judd (cjudd@juddsolutions.com), President, Judd Solutions, LLC Tyler Anderson (tyleranderson5@yahoo.com), Freelance writer
04 Oct 2005 This tutorial shows you how to build a dynamic Java™ analysis application that connects to Apache Derby. Explore the dynamic way the database stores new application logic, changing the logic of the database without touching the core client program. And learn about Java archive (JAR) signing and how to provide security for the application that uses hot-swappable .jar files.
In this tutorial
- Review Derby concepts
- Create the Derby database
- Set up the directory structure
- Build the basic application
- Store logic in Derby
- Change the data file
- Check for tampering
Prerequisites
This tutorial assumes you're familiar with basic programming and Java concepts, including classes, methods, and variables. Knowledge of Java GUI programming is helpful, but not required. For more information, see the Resources section at the end of this tutorial.
System requirements
To follow along with this tutorial, you'll need the following tools (see the Resources section for links to these downloads):
-
Database. Obviously, you need Derby. Download Derby from Apache and the IBM DB2® JDBC Universal Driver, making sure you've set your class path appropriately by following the installation instructions.
-
Java technology. Derby requires the use of Java code. Working on a Linux® box running Red Hat Fedora Core, the gcj compiler provided in the distribution was insufficient. Download the Java 2 Platform, Standard Edition (J2SE) Development Kit.
-
GUI front end. The GUI front end isn't required. It is, however, a recommended download for your experience throughout this tutorial. Download the GUI and other miscellaneous application code from the Download section.
Duration
Under two hours
Formats html, pdf
|  | |  |