Ultra Light Client Guide and Reference
- Switch back to the development image to create a packaging
application. We create the packaging application in the development
image because it is not necessary to put it in the passive image.
- From the VisualAge Organizer, create a new application. Call it
MyUlcToDoListPackagingApp.
- Edit the immediate prerequisites for
MyUlcToDoListPackagingApp: Select the application, click
mouse button 2, and select Prerequisites. The Prerequisites
window appears.
- Packaging applications for ULC must list at least one prerequisite:
UlcPackagingBaseApp. If necessary, use the Application
Editions Browser to edit the list. Then select OK to close
the window.
- Switch back to the XD image.
- From the Tools menu, select Browse Packaged
Images. The Create New Instructions tab appears on top.
- Choose the type of image you want to package. In this case, select
XD Runtime ULC Application.
- Add an image abstract and description in the spaces provided. Then
select the Modify Instructions box at the bottom of the
window.
- Select the appropriate applications for packaging. (For this
example, select MyUlcToDoListApp.) Then reduce the
image.
If you are prompted for a significant number of Sst- or
Ulc- applications, the SST and ULC features were probably not
loaded properly into the passive image. If this happens, return to Creating and populating the passive image and repeat.
- Examine and fix any relevant problems.
- Save the instruction instructions as a class in the new ULC packaging
application. For this example, save the instructions as
MyUlcToDoListPackagingInstructions, subclass of
ULCBaseXdPackagingForUlcApplications, in application
MyUlcToDoListPackagingApp.
- Output the image to ulctodo.icx.
To deploy the image, follow these steps:
- Copy esvio.exe to ulctodo.exe (give it the same name as the
image file).
- Create an ulctodo.ini file, using
ULCSamples\AppController.ini as a model:
- Set nlspath to point to the MPR files for your
application. Save the file.
- Add Server Runtime license and key information, using the Unlock Product
tool. To apply this information specifically to the ulctodo.ini
file, select File -> Select
INI.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]