HSQL Database Engine Client/Server Demo

Client/server version

Currently, the applet is configured to connect to 'http://localhost', but this can be changed in the source code of this HTML page: The applet parameter 'database' is the path where the applet connects to. Close the database and stop the WebServer using the 'SHUTDOWN' command.

If it does not work

On some browsers (Netscape 4.6?), the version compiled for JDK 1.2 does not work. In the Java Console (Communicator / Extras / Java Console) you will get something like:

# Verifier error org/hsqldb/jdbcConnection.getTypeMap()Ljava/util/Map

This means the class java.util.Map was not found. In JDK 1.1, this class does not exist. When compiled for 1.2, there is a reference this class required to conform the JDBC 2.0 interface. This class itself is never used, but the reference is required anyway. It looks like most verifiers have no problem with this, but some have.

The (only) solution for this problem is to recompile (at least the client part) for JDK 1.1. You will need to install JDK 1.1 before you can do this, then see:

Build / How to switch to JDK 1.1