OpenLink Web JDBC Applet Demonstration


 This is a demonstration of an applet using OpenLink's JDBC Driver.

Starting

When the Web browser has finished loading the Java applet, a window containing the JDBC applet will appear:

 

Running a Query

When it is running, click on the "Query" button to execute a SQL query against the default connection URL. If successful, you should see the first row of the resultset filling the applet window:

Click on the "Next" button to retrieve the next row, and so on, until you have reached the end of the resultset.

 

Picking the connection URL

To pick the connection URL, select "File|Pick Connection URL.." from the menu. A dialog box will appear, enabling you to pick the Server Type, and set initial values for Database, Username and Password. These values all overwrite the current connection URL:

 

Changing the connection URL

To change the connection URL, select "File|Set Connection URL.." from the menu. A dialog box will appear, enabling you to edit the connection URL:

Please note that due to the applet security restrictions, it is only possible to connect to the same server IP as the Web server.


The Java source for this applet