Define the Connection Attributes

You must know the properties shown in the following table before you can open a connection with the application.

Element

Description

IPAddress

The IP address or the name of the host system running the application.

Port Number

The port number the Remote Access server is listening on. The default used by most Remote Access servers is 2449, but you should check this with the Administrator.

ViewName

The View name defined for the application to be used.

Package Prefix

The application prefix of the Ispec Java class files. For example, 'com.yourcompanyname'.

Application

Name

The application name that you used when generating the Ispec Java class files.

Bundle Name

The Bundle name that you used when generating the Ispec Java class files.

The code to set the client side elements of the connection properties is:

’Set connection properties
mvarConnection.setPackagePrefix (mvarPackagePrefix)
mvarConnection.setApplicationName (mvarApplicationName)
mvarConnection.setBundleName (mvarBundleName)