Hints and tips
In this Appendix, we provide some tips through the evolution of what a typical Java program in CICS might look like.
Priority of public static void main() methods
CICS allows you to use two alternative main() methods for executing Java programs:
•public static void main(CommAreaHolder commAreaHolder)
•public static void main(String args)
The first passes COMMAREA data in a CommAreaHolder, which holds the data in a byte array. If this version of the main() method does not exist, CICS attempts to call the “typical” second version ...