Some of the classes
in JCICS can be used as JavaBeans,
which means that they can be customized in an application development
tool such as Eclipse, serialized, and manipulated using the JavaBeans
API.
The following JavaBeans are available in JCICS:
- Program
- ESDS
- KSDS
- RRDS
- TDQ
- TSQ
- AttachInitiator
- EnterRequest
These beans do not define any events; they consist of properties
and methods. They can be instantiated at run time in one of three
ways:
- By calling the new method for the class itself.
This method is preferred.
- By calling Beans.instantiate() for the name
of the class, with property values set manually.
- By calling Beans.instantiate() of a .ser file,
with property values set at design time.
If either of the first two options are chosen, the property values,
including the name of the CICS resource, must be set by invoking the
appropriate set methods at run time.