Using Data Modules
A data module is an interface specification that allows data components to be centralized. By centralizing the data components, and in theory, centralizing the business rules, a data module can be shared across forms and projects.
A data module is created from the File, New menu. This brings up the Object Gallery. Select the General tab and click on Data Module. Click OK.
Figure 15.19 displays the Data Module Wizard that is invoked when you add a data module to your project.
Figure 15.19. Data Module Wizard.
The Data Module Wizard prompts you for the package and class name for the data module. The package does not have to ...
Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.