Previous Topic: EABs in the Java EnvironmentNext Topic: Access Individual Class Members


User Action Outside of CA Gen

Copy the generated EAB stub and associated view files (<class>_IA, <class>_OA) to a separate location before modifying the stub. This prevents the stub, and your code, from being overwritten when the load module is regenerated. The generated stub is located in the java\<package-directory> under the model directory. For example, if DEMO_EAB has a package name of com.mycompany.accounting, the Java file DEMOEAB.JAVA would be located in the <model-directory>\java\com\mycompany\accounting. The file must be copied to a similar directory structure reflecting the package name. For example, c:\my eabs\com\mycompany\accounting.

Add the logic needed to meet the specific requirements of your application. You may use the modified stub to call an existing external method or you may include the method's logic in the stub.