Skip Headers
Oracle® Database Lite Administration and Deployment Guide
10g (10.3.0)

Part Number B28922-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

E Using the JDBC Thin Driver

To use the JDBC thin driver with Mobile Server applets, you will need to accomplish the following tasks.

  1. Upload the Oracle JDBC driver file Classes12.zip to the Mobile Server Repository.

  2. Change the applet tag of the html page to include Classes12.zip in the Archive tag.

The following sections describe these steps in detail. Topics include:

E.1 Upload the Oracle JDBC Driver

To upload the Oracle JDBC driver file Classes12.zip to the Mobile Server Repository, perform the following steps.

  1. Start the WSH tool and enter the following statement to connect to the Mobile Server Repository.

    WSH -o mobileadmin/manager@webtogo.world

    Note:

    In the above statement manager represents the password.
  2. Start the Command Prompt and enter the following.

    WEBTOGO.WORLD:/> cd webtogoWEBTOGO.WORLD:/webtogo>copy %ORACLE_HOME%\jdbc\lib\classes12.zipWEBTOGO.WORLD:/webtogo>exit
    

E.2 Change the Applet Tag

To change the applet tag, perform the following steps.

  1. Change the applet tag of the HTML page to include Classes12.zip in the ARCHIVE tag.

  2. Add the following ARCHIVE tag to all the HTML pages containing the <APPLET> tag.

    ARCHIVE="/webtogo/classes12.zip"

  3. If the ARCHIVE tag already exists, you must modify it as follows.

    ARCHIVE="/webtogo/classes12.zip, testapp.jar"