Native UltraLite for Java User's Guide
Tutorial: The CustDB Sample Application
Lesson 1: Build the CustDB application
The sample code files are given below together with a brief description.
File | Description |
---|---|
Application.java | The main user interface frame, event processing, and ActiveSync support. |
CustDB.java | The main interface to the database - most of the database processing is here. |
DialogDelOrder.java | The delete confirmation dialog |
DialogNewOrder.java | The new order entry form which shows populating a list box with data from the database. |
Dialogs.java | The common base class for dialogs. |
DialogSyncHost.java | This prompts for synchronization host name. |
DialogUserID.java | This prompts for the Employee ID. |
GetOrder.java | This is a class representing order data. It shows how to do a key join. |
GetOrderData.java | This computes min and max order ID. Equivalent to SELECT max( order_id ), min( order_id ) FROM ULOrder. |
You can review these .java files for specific details and investigate within these files to see how the application works.