The design goal of the Java code generators is to generate a complete Java EE application from a CA Gen Client/Server model without modification. In practice, you may want to add Java-specific information to your models, such as the Java package names. The generated Java code is designed to be compliant with the Java 2 language specification, ensuring portability to any compliant Java Virtual Machine (JVM).
An action diagram is generated as a class whose name is the CA Gen member name. All import, export, and local views are generated as separate classes. For example, the action block DEMO_AB would be generated as the class DEMOAB. The import, export, and local views would be generated as the classes DEMOAB_IA, DEMOAB_OA, and DEMOAB_LA, respectively. An additional set of Java files are generated by the Window Manager and Server Manager to present the import and export views in a more object-oriented manner and wrapper classes to move the data into and out of the _IA and _OA classes.
JDBC is used for all database accesses in the generated Java code.
|
Copyright © 2013 CA.
All rights reserved.
|
|