Table of Contents,
Page 1 of 1
[top]
[prev]
[next]
Road Map
Glossary
Index for This Book
Documentation Top
Global Index
Table of Contents
About This Document
Purpose of This Document
Audience
Tutorial Roadmap
Typographical Conventions
1 Overview
Technology Overview
What Is a DBMS?
Relational Database Management Systems
The SQL Standard
Transaction Processing and More
Proprietary Programming Language
Object-Relational DBMSs
The Java in Cloudscape
Non-Proprietary Programming Language
Run Methods Anywhere
Deploy Cloudscape Anywhere
Synchronization: Keeping Databases in Touch
The JBMSTours Scenario
The Company
The Application: The JBMSTours Package
Application Overview
The Application Queries the Data
The Application Stores Tour Data
The Application May Use Synchronization
One Temporary Table: FlightObjects
What You Will Be Doing with JBMSTours
Or Look on Your Own . . .
In a Client/Server Environment
2 Cloudscape Basics and the Sample Database
Getting Acquainted with Class Path
Setting the Variable vs. Using the Runtime Option
How to Specify the Location of Files in the Class Path
The CLOUDSCAPE_INSTALL Environment Variable
What to Include in the Class Path for this Tutorial
Path Separators
Task:
Task: Determine Your Class Path
Getting to Know Your System Directory
Task:
Task: Create a System Directory for the Tutorial
Task:
Task: Create a Home or Working Directory for the Tutorial
Task:
Task: Make Sure Your PATH Variable Is Correct
Task:
Task: Customize Your setclasspath Script
Running the Script
Directory Review
Getting an Application to Start Up Cloudscape
Task:
Task: Test the Class Path Script
Task:
Task: Creating, Compiling, and Running HelloWorld
Task:
Task: Experiment: Try to Get an Error
Working with Connections
Task:
Task: Get a Connection: Create a Database
Task:
Task: Shut Down Cloudscape
Task:
Task: Examine the System Directory and Information Log
Building the Database toursDB
Task:
Task: Run JBMSTours.CreateToursDB
3 Using Cloudview
Tables in a Relational Database
Working with Cloudview to Create Dictionary Objects
Task:
Task: Start Cloudview in the Home Directory
Task:
Task: Connect to HelloWorldDB
Task:
Task: Create the Sayings Table
Task:
Task: Create the Responses Table
Task:
Task: Define a Primary Key
Task:
Task: Define a Foreign Key
Task:
Task: Enter Data Graphically and with an SQL Statement
Task:
Task: Open and Execute an SQL Batch File
Task:
Task: Browse the Data in the Sayings Table
Examining Tables and Data in toursDB with Cloudview
Task:
Task: Open a Connection to toursDB
Task:
Task: Browse the Definition of the AIRLINES Table
Task:
Task: Browse the Data in the COUNTRIES Table
Task:
Task: Disconnect, Exit (and Shut Down Cloudscape)
4 Objects and SQL
Using Cloudview to Work with Stored Objects
Task:
Task: Examine the Cities Table Definition
Task:
Task: Browse the Contents of the Cities Table
Task:
Task: Browse a City Object
Executing Methods from the Object Inspector
Task:
Task: Execute an Objects Methods
Task:
Task: View the Superclasss Methods.
Introducing . . . SQL!
Queries
Task:
Task: Select Data from the Sayings Table
WHERE Clauses
Task:
Task: Execute an SQL-J Statement with a WHERE Clause
Joins
Task:
Task: Execute Joins
Task:
Task: Execute Methods in SQL-J Statements
Querying toursDB
Task:
Task: Execute Queries in toursDB
Task:
Task: Use a WHERE Clause
Task:
Task: Use More Complex Search Conditions
Task:
Task: Join the Countries and Cities Tables
Task:
Task: Disconnect, Exit (and Shut Down Cloudscape)
5 Cloudscape Database Applications
Cloudscape Deployment Options
What Does Embedded Mean?
Application Servers and Embedded Cloudscape
Cloudscapes Server Frameworks
A Cloudscape Synchronization System
Working with the JDBC Interface
Applications and Queries: Statements and ResultSets
Task:
Task: Run and Examine HelloWorldApp.java
Handling SQLExceptions
Task:
Task: Change the logSeverityLevel Property
Task:
Task: Compile, Run, and Examine HelloWorldExc
Closing Statements and ResultSets
Running the BuildATour Application
Task:
Task: Run JBMSTours.BuildATour
6 Working with SQL-Js Java Extensions
Whats the J in SQL-J? Whats ij?
Meet the City Class
Task:
Task: Examine and Execute CityTest
Work with Stored City Objects
Notes About Starting ij
Task:
Task: Start ij
Task:
Task: Connect to toursDB
Task:
Task: Execute SQL-J Statements Referencing Stored City Objects
Task:
Task: Access a Field in an SQL-J Statement
Task:
Task: Execute More Complex SQL-J Statements
Database-Side JDBC Methods
Task:
Task: Execute Methods in a Program as Application-Side Methods
Task:
Task: Execute Methods in Statements as Database-Side Methods
VALUES Expression
Task:
Task: Use the VALUES Command
Accessing Classes and Class Aliases
Task:
Task: Execute a Method in a VALUES Expression Using an Instance
Task:
Task: Execute a Method Using a Class, Not an Instance
Task:
Task: Work with Class Aliases
Task:
Task: Execute Some More Methods Using Class Aliases
Task:
Task: Use a Constructor
Static Method Aliases
Task:
Task: Create a Method Alias
Task:
Task: Execute Method Aliases for Database-Side Methods
7 Programming for Performance
Prepared Statements
Task:
Task: Prepare a Statement in ij
Task:
Task: Execute a Prepared Statement in ij
Task:
Task: Compare the Insert Performance of PreparedStatements to that of
Stored PreparedStatements
Task:
Task: Create a Stored Prepared Statement
Task:
Task: Work with One of the Stored Prepared Statements in toursDB
Task:
Task: Execute a Method That Uses Stored Prepared Statements
Task:
Task: Compare the Performance of Statements, PreparedStatements, and
Performance, Optimization, and Indexes
Types of Queries for Which Indexes Are Useful
Task:
Task: Find the Name of the Index on the orig_airport Column
Task:
Task: Execute a Query with and without an Index
Task:
Task: Execute a Query with a More Complex Comparison
Task:
Task: Execute the Query That Uses the Column in an Expression
Covering Indexes
Task:
Task: Execute a Query in Which the Index Covers the Query
Task:
Task: Delete the Index and Re-Execute the Query
RunTimeStatistics
Task:
Task: View the RunTimeStatistics for a Query
8 Virtual Tables, External Data, and Aggregates
Virtual (Derived) Tables and Views
Task:
Task: Work with a Virtual Table
Task:
Task: Work with a View
External Virtual Tables and Bulk Import
Task:
Task: Import Data from a Flat File Using the Built-In Utility
Task:
Task: Import Data from a Flat File Using an SQL-J Statement
External Virtual Tables and External Databases
Task:
Task: Configure the ODBC Data Source for the Access Database
Task:
Task: Load the ODBC-JDBC Bridge Driver and Import Data
Aggregate Data
Task:
Task: Run JBMSTours.BuildATour a Few More Times
Task:
Task: Start ij and Work with Aggregates
Task:
Task: Work with the User-Defined Aggregate MAXBUTONE
GROUP BY and GenerateReport
Task:
Task: Use GROUP BY
Task:
Task: Use HAVING
Task:
Task: Run JBMSTours.GenerateReport
9 Working with Connections and Transactions
Transactions
Transaction Isolation and Locking
Transactions and Connections
Task:
Task: Start ij and Open a New, Named Connection
Task:
Task: Set a Database Property
Task:
Task: Open a Second Named Connection
Task:
Task: Begin a Transaction in Each Connection
Task:
Task: Commit TransactionA
Task:
Task: Repeat the Previous Tasks Using READ_COMMITTED
Task:
Task: Get Cloudscape to Automatically Roll Back a Transaction
Task:
Task: Work With the LockTable VTI
Connecting to Multiple Databases
Task:
Task: Run JBMSTours.ArchiveData
10 Storing Objects and Classes
Storing Objects in the Database
Task:
Task: Create a Class for HelloWorldDB
Task:
Task: Try Altering the Class and Storing New Instances
Task:
Task: Add the Explicit serialVersionUID to Square
The People Table and Storing Subclasses
Task:
Task: Select Instances of Subclasses from the Person Table
Storing Media Objects and Playing Them within Cloudview
Task:
Task: Play the Maps in toursDB
Task:
Task: Examine Picture.java to See How the Image Is Stored
Task:
Task: Insert Some URLPictures
Storing Classes in the Database
Task:
Task: Create a Jar File for the JBMSTours Package and Subpackages
Task:
Task: Add the Jar File to the Database as ToursLogic
Task:
Task: Alter the Value of Your Class Path
Task:
Task: Run JBMSTours.GenerateReport with Class Loading from the
11 Servers and Servlets
JDBC Servers
Task:
Task: Start RmiJdbc Server
Task:
Task: Run ij as a Client Application
Task:
Task: Open a Client Window, and Run an Application
Database Servlets
About the Servlets
Appropriate Web Servers and Web Browsers
Running the Servlets
Task:
Task: Configure Cloudconnector for the Servlets and Start Cloudconnector
Task:
Task: Configure Java Web Server 1.1 for the Servlet and Start Java Web
Task:
Task: Use the Servlets
Cloudscape Glossary
[top]
[prev]
[next]
Cloudscape Version 3.0
For technical support, go to:
www.cloudscape.com
and click
Support
.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.