There are three basic steps when you open a connection with an application:
Define the environment attributes. In this step define the attributes of the Remote Access server to connect to, and specify the location of the local Java class files.
Open a connection to the server. This might additionally require you to provide a user Id and password to connect to the server where the application resides.
Note: This is a server login, not a login to the application.
Request the initial fireup Ispec from the application. This connects you to the application, starting it if required, and return the fireup Ispec.