Preparing for Reverse Generation

Before performing reverse generation, you usually perform the following tasks:

  1. Create a UML diagram.

  2. Define your database tables (and views, synonyms, and snapshots) based on the entities, associations, and attributes in the UML diagram. If you have existing legacy tables, you may want to structure them so there is one entity per table, if possible.

  3. Decide if you will create default entity objects and associations, define them individually, or a combination of the two. Create custom domains, if needed.

    Because the database data types are in SQL and the business logic tier types are in Java, Business Components for Java needs to translate between the two:

After completing these steps, you are ready to create entity objects and associations from the tables.

You can optionally effect the behavior of many business components by customizing framework base classes, which you might want to start before generating business components.


Related topics
Using a Domain as a Data Type for an Attribute
Ways to Represent Oracle Object Types in Entity Objects
Coordinating Entity Objects and Database Triggers
About the Development Process
About Generating Entity Objects, Associations, and Database Tables
About Reverse Generation
What Is an Entity Object?
What Is an Entity Attribute?
Business Component Data Types