When you are developing Java™ applications,
various restrictions apply otherwise problems might occur when the
applications are running in CICS®.
The following restrictions apply for Java applications
used in CICS:
- System.exit() method: this method cannot be
used in Java applications otherwise
the application abnormally ends, the JVM server shuts down, and CICS shuts down. Use a security
policy to disable support for System.exit(). For
related information see Enabling a Java security manager.
- JCICS API calls: these calls cannot be used in the activator classes
of OSGi bundles.
- Start and stop methods used in bundle activators: these methods
must return in a reasonable amount of time.