Sun 3270 Pathway Migration Guide

Due to the nature of the changes made to the API of 3270 Pathway, release 2.0, any Java code that was written to use a prior version of 3270 Pathway, will not work with the 2.0 or later release. This affects both Java source code as well as compiled code.

If you wish to modify code that uses a prior release of Pathway so that it works with this release, read the following guide and make the necessary changes to your Java source code.

If you are not migrating from a previous release of 3270 Pathway, you may disregard this guide.

Package Names

The packages and classes in the Pathway API have undergone name changes. The old package name for 3270 Pathway was: unikix.clientapis.emulator

The new package name is: com.sun.emp.pathway.bean. Change any code that references the old package so that it references the new package.

Class Names

All of the exposed classes in 3270 Pathway have changed names in the 2.0 release. The following table lists the old and new names.
Old Class Name New Class Name
KixEmulator Terminal
KixField TerminalField
Kix3270Constants

No equivalent class. Use the fields in Terminal.
KixEmulatorListener TerminalListener
KixEmulatorEvent TerminalEvent
Change any Java source code that uses the old class names so that it uses the new class names.

The Terminal Class

The Terminal class (formerly the KixEmulator class) has undergone significant change in the 2.0. release of 3270 Pathway. The following sections detail the changes.
Note: Removed methods no longer exist within the API. They have not been deprecated. Attempting to call a removed method will result in an error.