Previous Topic: Create the FileNext Topic: Invoke the CFB Server


Define the Class Path

To facilitate the setup of the CFB Server, set a private version of the class path, so that the application server JAR file(s), the CA Gen runtime JAR file, and the <Server Procedure Step>_dpy.jar file(s) can access the generated EJBs.

The class path is a semicolon-separated list of directories containing CLASS files and/or a semicolon-separated list of JAR files. For example:

CP=.;c:\MyApp\classes;c:\OtherApp\sample.jar

Follow these steps:

  1. Set the class path to the current directory:
    SET CP=.
    
  2. Append the list of JAR files copied from the target application server to the client system:
    SET CP=%CP%;<app‑server‑dir>\<file1>.jar; <app‑server‑dir>\<file2>.jar
    
  3. Append the consolidated CA Gen Java Runtime JAR file to the CLASSPATH:
    SET CP=%CP%;<directory>\genrt.xx.jar
    

    Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.

  4. Append the list of <Server Procedure Step>_dpy.jar files copied from the EJB build machine to the client system:
    SET CP=%CP%;<model‑dir>\c\<Server Procedure Step-1>_dpy.jar;<model‑dir>\c\<Server Procedure Step-2>_dpy.jar
    

    Remember to separate each directory or file with a semicolon.