Native UltraLite for Java User's Guide
Introduction to Native UltraLite for Java
The Native UltraLite for Java package is named ianywhere.native_ultralite. It includes a set of classes for data access and synchronization: Some of the more commonly-used high level classes are:
DatabaseManager You create one DatabaseManager object for each Native UltraLite for Java application.
For more information, see ianywhere.native_ultralite.DatabaseManager in the API Reference.
Connection Each Connection object represents a connection to the UltraLite database. You can create a number of Connection objects.
For more information, see ianywhere.native_ultralite.Connection in the API Reference.
Dynamic SQL objects - PreparedStatement, ResultSet, and ResultSetSchema objects allow you to create Dynamic SQL statements, make queries and execute INSERT, UPDATE and DELETE statements, and attain programmatic control over database resultsets.
For more information on the ULPreparedStatement, ULResultset, and ULResultSetSchema objects, see ianywhere.native_ultralite.PreparedStatement, ianywhere.native_ultralite.ResultSet and ianywhere.native_ultralite.ResultSetSchema
Table The Table object provides access to the data in the database.
For more information, see ianywhere.native_ultralite.Table in the API Reference.
SyncParms You use the SyncParms object to add synchronization to your application.
For more information, see ianywhere.native_ultralite.SyncParms in the API Reference.
The API Reference is supplied in Javadoc format in the UltraLite\NativeUltraLiteForJava\doc subdirectory of your SQL Anywhere installation and is accessible from the front page of the UltraLite Component Suite online books.
Native UltraLite for Java supports the Jeode VM on Windows CE/ARM devices including the Compaq iPAQ and NEC MobilePro P300, which come supplied with the Jeode VM. Windows operating systems other than Windows CE are supported for testing and development purposes only.
For more information, see UltraLite host platforms, and UltraLite target platforms.
During development, it is recommended that you use JDK 1.1.8 or PersonalJava 1.2, as these are compatible with the Jeode VM.
In addition to your application code and the Jeode VM, you must deploy the following files to your Windows CE device:
jul9.jar This JAR file contains the Native UltraLite for Java package and a utility package.
jul9.dll The UltraLite runtime library.
UltraLite schema file The UltraLite runtime library uses the information in the schema file to set the database schema. Once a database file is created, the schema file is no longer required.
For more information, see Lesson 4: Deploy your application to a Windows CE device.