Installing files on a MIDP supported device

This section describes how to install the DB2 Everyplace library and sample files on a MIDP supported device.

Prerequisites

You need to install a Web application server on your workstation before installing the DB2 Everyplace libraries and sample files. WebSphere Application Server 5.x, the embedded version of the IBM WebSphere(R) Application Server - Express V5.0, or Apache Tomcat can be configured to run with DB2 Everyplace You must install one of these application servers before continuing.

MIDP for DB2 Everyplace has been tested on several different devices including RIM, Nokia, and Motorola. The following section describes how to install if your carrier is Nextel. Some devices load their applications over a data cable, some using infrared ports. Refer to the manufacturer's documentation for details. Before you install the DB2 Everyplace libraries and sample files on one of these devices, you must download an update application, which enables you to transfer files to your phone. To download this application:

  1. Go to the Nextel Developer Program Web site at http://developer.nextel.com.
  2. Apply to the Nextel Developer Program.
  3. After you are registered for the program, download and install the iDEN Update application on your mobile phone.
  4. Connect a Motorola RS232 or USB data cable from your computer to your phone.
  5. Use the iDEN WebJAL to install the DB2 Everyplace libraries and sample files on your phone.

Procedure

To install the DB2 Everyplace libraries and sample application files:

Install the following files on the MIDP supported device. Table 193 contains the DB2 Everyplace library files. The files are located in \DB2Everyplace\Clients:

Table 193. DB2 Everyplace library files

File Name Description
Midp\lib\VNurse.jad Visiting Nurse jad file
Midp\lib\VNurse.jar Visiting Nurse non-debug jar file

You can use these files to develop your own MIDP applications or work with the sample application:

The Debug files are too large to fit on most devices, and display lots of trace output. They are intended for debugging your application during development in your IDE of choice. The numbered VNurse.jad files define various user, and password combinations that can run from the Sun Wireless Toolkit emulator (Midp/bin/run.bat). If you want to use one of these files on a phone, the root file name must match the JAR file. For example, VNurse3.jad must be renamed to VNurse.jad before you load it on a phone.

If you want to develop your own applications using the MidpISync.jar and the enclosed build.bat (ANT script) file, you can download and install the following software programs:

Related tasks

Related reference