Directory Locations
The ability to return locations other than the JADE HOME directory for program and user data requests is dependent on where the JADE binaries have been installed. If the JADE programs are installed in the \Program Files system-wide location for installed applications, alternative directory locations are implemented.
Because security restrictions can deny appropriate access to directories or the directories are a unique location for each user, the Node and Process classes provide methods that enable you to access other directory locations in the file system hierarchy. In addition, the [JadeEnvironment] section of the JADE initialization file provides the JadeWorkDirectory, ProgramDataDirectory, and UserDataDirectory parameters, which enable you to specify the location of JADE work files, program data, and user data, respectively.
In the methods summarized in the following subsections, a method on a specific:
-
Node instance performs its action on the specified node instance, which does not have to be the current node. If the current node is required, use the node environmental object (system variable).
-
Process instance performs its action on the owning node (that is, a Process.node instance) if the process is not associated with a presentation client. If the process has an associated presentation client, the action is performed on the presentation client. The presentation client does not have to be the current presentation client or a presentation client attached to the same application server.
For details, see Volume 1 and Volume 2 of the JADE Encyclopaedia of Classes and "JADE Environment [JadeEnvironment] Section", in the JADE Initialization File Reference.