When you are developing Java applications, you must adhere
to certain restrictions to avoid problems when the application is
running in CICS.
Java applications that run in CICS are subject to the following
restrictions:
- You cannot use the System.exit() method in
your Java application. If you use this method, the application abnormally
ends. The JVM server and CICS also shut down.
- You cannot use JCICS API calls in the activator classes of OSGi
bundles.
- Start and stop methods in bundle activators must return in a reasonable
amount of time.