General Rules of the Road
Components are critical parts
of the server, and must adhere strictly to the programming standards
listed in Programming Your Applications in iWay Service Manager. Components are
expected to operate with no human intervention. In addition, the
following rules apply:
- All code must
be reentrant. You can expect several copies of your component to
run simultaneously.
- All components
must use the internal tracing facility. No system out tracing is allowed.
Use trace levels such as TREE, DEEP, and DATA properly to avoid
over-tracing.
- All components
must be self-recovering. The components extend engine classes that
perform much of the recovery, but your component should never simply
throw an exception or ever call System.exit() for any reason.
- All parameters
must be in the run time catalog (dictionary), described by the masterInfo
class associated with your component. Specifically, do not create
your own properties objects.
- All components
must be ISO I18N compliant. The engine provides facilities to assist
in this. Never call getBytes() without an encoding.