In Practice

The ChalkTalk application needs the capability to read and save data to the database structure. We have read and written data to the database using JDBC; now it is time to accomplish the same task using entity beans. The process of building the beans is rather simple; most of our work will be executed in the session facade.

Building the Persistence Layer

The creation of the persistence layer using JBuilder depends on the appropriate data structure being completed. In Chapter 15, “Database Connectivity,” we created the necessary data store for our application. We will now create the entity beans to manage this persistence. The following steps are used to build the necessary entity beans:

1.
Import a schema from our data source ...

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.