Data modules simplify data access development in your applications. Data modules offer you a centralized design-time container for all your data access components. This enables you to modularize your code and separate the database access logic and business rules in your applications from the visual containers like panels and frames.
The Data Module wizard creates a data module, or specialized container for data access components. Once you define your DataSet components and their corresponding Column components in a data module, all frames that use the module have consistent access to the data sets and columns without requiring you to recreate them on every frame each time you need them. Data modules do not need to reside in the same directory or package as your project. They can be stored in a location for shared use among developers and applications.
To open the Data Module wizard,
If a project is currently open, the Data Module wizard displays. If no project is currently open, the Project wizard steps you through creating a new project, followed by the Data Module wizard.
For more information on packages, see Packages in Creating and managing projects.
DataModule1 dm1 = new DataModule();
) and compile the application to make the data module available to JBuilder.
For more information on data modules and a tutorial for creating a data module using sample InterBase files, see Encapsulating your data model for reuse.