To access data in JBuilder, add one of the following StorageDataSet subclasses to your application:
An introductory tutorial steps you through creating a database application, even if you are not connected to any SQL or desktop databases. This tutorial uses data in a text file that ships with JBuilder.
This tutorial also steps through building a user interface for the application using JBuilder design tools.
Querying a database steps through creating the local copy of the data by executing a query and storing its results in a QueryDataSet component.
Using parameterized queries to obtain data from your database outlines the steps required when adding parameters to your query statement.
Establishing a master-detail relationship steps through creating a master-detail (or parent-child) relationship between two data sets.
Obtaining data through a stored procedure steps through creating the local copy of the data by executing a stored procedure and storing its result set in a ProcedureDataSet component. This component is only available in the Client/Server edition of JBuilder.
Importing data from a text file describes how to import data from a text file into the TableDataSet component. This topic discusses how to programmatically add Column components and read in data such as date and timestamp data for which there are no standards.
When using the TableDataSet and TextDataFile components, you are usually reading data from a text file. Because you are not accessing SQL server data, you do not need a Database component.
The following diagram illustrates the different ways to obtain and store data into a JBuilder component:
DataExpress Architecture
For more information on JBuilder's DataExpress architecture, see Understanding JBuilder database applications.