Create a JavaGateway object to start a connection to the CICS® Transaction Gateway before attempting to connect a terminal to CICS.
The EPIGateway class provides methods to access information about CICS servers that are accessible from the CICS Transaction Gateway, and it can be used instead of the JavaGateway class.