InfoCenter

Database On-Demand overview

Database On-Demand is a Java applet that performs SQL requests through a JDBC driver. Some Database On-Demand features are:

If you use a proxy server to connect to an iSeries and you use the Download client, you can decrease the download time when loading the Database On-Demand applet. To do that, edit the CommonJars.js file and replace hoddba.jar with hodpxdba.jar.

This smaller jar file contains only the classes needed for running Database On-Demand when connecting through a proxy server.

Example uses of Database On-Demand

Dynamic queries

Database On-Demand can be used as a dynamic query tool. Without knowing SQL, you can use the SQL statement builder to create an SQL statement or to modify an existing SQL statement. The statement can then be executed or saved for later use.

Saved SQL and File Upload statements

Saved SQL and File Upload statements can be distributed to a user or a group of users. You can simply select the saved SQL or File Upload statement you want to run, then click Run to view the results.

File download

Query results can be saved in many file formats and later imported into your personal productivity program, such as a spread sheet or word processor.

File Upload

Files created from many different formats can be loaded into a host database.

Web page publishing

Database On-Demand supports the writing of query results in HTML using an HTML template file. A template is an HTML document that contains special tags indicating where the query results should be imbedded. The resulting Web page contains everything in the template file, including the query results in the specified location.


Security

Applets running under browsers have limited access to system resources, such as local file access and network access. Database On-Demand requests special permissions from the browser to perform these operations. Browsers display a window asking you to grant or deny these requests. If you deny the request, the applet is not granted the privilege, and the operation fails. Therefore, you have control over what the applet can do from your system.

Using other JDBC drivers

Other JDBC drivers can be used with Database On-Demand; however, due to some browser security restrictions, these conditions apply:

Related topics

  • Configure database options
  • Administer saved SQL statements or File Upload statements