UltraLite Static Java User's Guide
Data Access Using Pure Java
This section describes how to compile and run the UltraLite Java version of the CustDB sample application.
The sample application is provided in the Samples\UltraLite\CustDB\java subdirectory of your SQL Anywhere directory.
The applet version of the sample uses the Sun appletviewer to view the file custdb.html, which contains a simple <APPLET> tag.
The appletviewer security restrictions require the applet to be downloaded from a Web server, rather than to be run from the file system, for socket connections to be permitted and synchronization to succeed.
The application version of CustDB persists its data to a file, while the applet version does not use persistence.
For a walkthrough of the C/C++ version of the application, which has very similar features, see Tutorial: A Sample UltraLite Application.
The UltraLite Java sample files
Building the UltraLite Java sample
Running the UltraLite Java sample