Skip Headers
Oracle® Database Lite Administration and Deployment Guide
10g (10.2.0)
Part No. B15921-01
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

G 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:

G.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
    

G.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"