Class resolution

ActiveSpaces® Transactions uses these locations to resolve a class reference. The locations are searched in the following order:

  1. ActiveSpaces® Transactions defined system CLASSPATH

  2. JAR files located in deployment directories

  3. Client side CLASSPATH definition, if detach=false (see Table 14.1, “Deployment tool options”) when an application is deployed.

The system CLASSPATH cannot be changed.

The contents of the deployment directories are then searched to resolve class resolutions as described in ActiveSpaces® Transactions Administration.

Finally the client's CLASSPATH is searched. All classes resolved using the client class path are sent over a network connection to the server. The client CLASSPATH is only available for class resolution if the detach option is set to false when the application was deployed.

[Note]

Client and server class paths are distinct. The client class path is never sent to the server. All resources in a client's class path that are in a shared file system visible to the server are still sent to the server from the client if the resource is not also in the server's class path.