Start Programming with the Examples
Simple Examples
Simple
/demo/programs/simple contains a simple Java application, along with step-by-step instructions for compiling and running it. It illustrates basic tasks such as:
-
starting Cloudscape, loading the Cloudscape JDBC driver
-
running in an embedded or a client/server environment (RmiJdbc or Cloudconnector)
-
establishing a connection
-
turning off auto-commit
-
creating a table
-
inserting and selecting data
-
disconnecting
-
shutting down Cloudscape
In this directory, the file demo/programs/simple/example.html contains the instructions for compiling and running the application.
Synchronization
Users who install Cloudsync get an application that illustrates the features of this product.
-
demo/programs/synchronization illustrates Cloudscape synchronization. This example/link is available only if you have purchased and installed Cloudsync.
A More Complex Example: The JBMSTours Tutorial
demo/programs/tours contains a complete sample application that builds and runs against the sample database, toursDB. The application consists of the Java package JBMSTours.
Learning Cloudscape: The Tutorial takes you step-by-step through building the database and then running queries and applications against it.
You can use the pre-built version of the database as well. From Cloudview, you can browse its data and dictionary objects and enter queries and other SQL-J statements from its SQL window.
In addition, you can do some of the lessons as stand-alone examples. These examples include:
-
storing images in the database
-
creating a servlet
-
creating a JDBC applet
-
accessing external data through Cloudscapes Virtual Table Interface
|