Setting up Oracle Lite 10g

The Oracle Lite 10g database is Oracle's equivalent to Microsoft's SQL Server CE. It is provided free of charge, and can also sync with a standard Oracle database server. The Oracle Lite database consists of two main components: Mobile Server and the Mobile Development Kit.

Installing Oracle Lite 10g on the development machine

To install Oracle Mobile server on your development machine, simply follow these instructions:

  1. Download Oracle Database Lite 10g Release 3 (10.3.0.2.0) for Microsoft Windows (32-bit) from the following URL:

    http://www.oracle.com/technology/software/products/lite/index.html.

  2. Extract the contents of the downloaded file into any folder on your development machine and run the setup.
  3. Install only the Oracle Mobile Development Kit. We will not need to install the Mobile Server at the moment (as this will require the installation of the full Oracle database).

Installing Oracle Lite 10g on the Pocket PC device

You will find two .cab files if you navigate to the folder below (where ORAHOME is the root location where you've installed Oracle Lite):

ORAHOMEMobileSdkwinceppc60cabfiles

Feature

Description

olite.language.device.processor

This .cab file contains the main Oracle Lite 10g database engine

tools.language.device.processor

This .cab file contains the developer tools for Oracle Lite 10g such as Msql

There are two ways to get Oracle Lite 10g installed on the mobile device:

  • Via Mobile Server:Oracle Mobile Server provides a way to invoke the setup of the Oracle database engine on the mobile device over ActiveSync. We will revisit Mobile Server in detail when we discuss data synchronization in Chapter 6, Data Synchronization.
  • Manual deployment:We can also manually copy the olite.language.device.processor.cab file and the tools.language.device.processor.cab file to the mobile device and deploy it directly from the device.

We will use the second method of the previous section to install the .cab file to your mobile device:

  1. Copy the olite.language.device.processor.cab and the tools.language.device.processor.cab files that correspond to your target language, device, and processor to any folder on the mobile device manually.
  2. Run the .cab file from your mobile device or device emulator.
  3. A ...successfully installed message will be displayed if the setup did not encounter any problems.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.152.162