Client code from applications running in an EAServer 5.x installation can be recompiled to run in EAServer 6.0. You may need to change the initial context properties used in your code—see “Sybase InitialContext properties”.
You can also connect to EAServer 6.0 servers using the runtime classes from an EAServer 5.x installation (those classes in easclient.jar). To use both the 5.x runtime classes (easclient.jar) and 6.0 runtime classes (eas-server-14.jar or eas-server-15.jar) in the same application:
Put easclient.jar ahead of eas-server-14.jar or eas-server-15.jar in the CLASSPATH setting
Use initial context factory com.sybase.ejb.InitialContextFactory
for
5.x client access, and com.sybase.ejb.client.InitialContextFactory
for
6.0 client access.
If only eas-server-14.jar or eas-server-15.jar is present in the class path, both context factory names work, and use 6.0 client runtime classes.