UltraLiteJ database transfer (ULjDbT)

The ULjDbT utility provides the capability to transfer an UltraLiteJ database from a BlackBerry smartphone to an external device, such as a desktop, laptop, or server. The utility consists of two applications that must run simultaneously—the Java Swing Server application and the BlackBerry smartphone client application.

The Java Swing Server application

The Java Swing Server application receives UltraLiteJ databases using a USB or HTTP connection method. When you start the server application, it waits for a BlackBerry smartphone to transfer the database through the specified connection with the client application. The connection is closed either manually through the application interface, when the application times out, or when the transfer is complete.

To set up the Java Swing Server application, JDK 1.6.0 or later, and the Java Swing GUI libraries must be installed.

To receive a database using the Java Swing Server application

  1. Run ULjDbTServ.cmd from the Bin32 directory of your SQL Anywhere installation.

    The Java Swing Server application loads.

  2. On the Connect tab, select the desired Connection Method.

  3. Under Connection Properties, specify the following values:

    • Port   The TCP port number used to establish a connection to the BlackBerry smartphone. This field only applies to HTTP connections.

    • BlackBerry Password   The password used to access the connected BlackBerry smartphone when it is locked. Leave this field blank if there is no password. This field only applies to USB connections.

    • Timeout   The number of idle minutes before the server application times out and closes the connection.

    • Output   The new filename and location of the transferred database.

  4. Click Start to wait for a BlackBerry smartphone connection.

    The server application waits until it either times out or establishes a connection. Click the Logs tab to view detailed information on the server status and the transfer progress.

The BlackBerry Smartphone Client application

The BlackBerry Smartphone Client application sends UltraLiteJ databases through a USB cable or a TCP port specified by the Java Swing Server application. For more information on preparing an external device to receive UltraLiteJ databases, see The Java Swing Server application.

The client application is a signed file located in the UltraLite\UltraLiteJ\J2meRim11 directory of your SQL Anywhere installation.

To transfer a database using the BlackBerry Smartphone Client application

  1. Load UltraLiteJ.cod and ULjDatabaseTransfer.cod from the UltraLite\UltraLiteJ\J2meRim11 directory of your SQL Anywhere installation.

    The client application icon appears in your list of applications.

  2. Start the application and press the trackwheel.

    The UltraLiteJ Database Transfer menu appears.

  3. Select the desired connection method from the dropdown menu.

  4. Complete the following fields:

    • Database Name   The name of the database to transfer to the external device.

    • Database Password   The database password used to allow data transfer.

    • Server   The IP address or hostname of the server receiving the transfer. All entries must include the http:// suffix. This field only applies to HTTP connections.

    • Port   The TCP port number used when connecting to the external device. This number must be identical to the port number specified in the server application. This field only applies to HTTP connections.

  5. Activate the Connect command.

    Note

    To ensure a successful database transfer, make sure that the connection to the server application is active on the external device.

    The BlackBerry smartphone starts transferring the database to the external device. Progress information can be traced on server application.