Contents Index Overview Lesson 1: Add SQL statements to your reference database

UltraLite Static Java User's Guide
  Tutorial: Build an Application Using Java
    Introduction

Create a directory to hold your files


In this tutorial, you will be creating a set of files, including source files and executable files. You should make a directory to hold these files. In addition, you should make a copy of the UltraLite sample database so that you can work on it, and be sure you still have the original sample database for other projects.

Copies of the files used in this tutorial can be found in the Samples\UltraLite\JavaTutorial subdirectory of your SQL Anywhere directory.

To prepare a tutorial directory

  1. Create a directory to hold the files you will create. In the remainder of the tutorial, we assume that this directory is c:\JavaTutorial.

  2. Make a backup copy of the UltraLite 9.0 Sample database into the tutorial directory. The UltraLite 9.0 Sample database is the file custdb.db, in the UltraLite\Samples\CustDB subdirectory of your SQL Anywhere installation directory. In this tutorial, we use the original UltraLite 9.0 Sample database, and at the end of the tutorial you can copy the untouched version from the APITutorial directory back into place.


Contents Index Overview Lesson 1: Add SQL statements to your reference database