14.3.2 Procedure of creating and using the container extension library

The procedure of creating and using the container extension library is as follows:

  1. Implement and compile the user-created classes.
    If the server start and stop hook functionality is used, specify Cosminexus-installation-directory\CC\lib\ejbserver.jar in the class path and execute compile. Note that when the server start and stop hook functionality is used, you implement and compile the classes with the method in which the IDE is not used.
    With the server start and stop hook functionality, you can also implement the invoke processing of the CORBA objects through Smart Agent, provided by Cosminexus TPBroker.
  2. Archive the created classes in a JAR file.
    Archive the user-created classes in the JAR file for the container extension library. Do not include the classes in the EJB-JAR files and WAR files.
  3. Specify the archived JAR file in the system class path of the J2EE server.

To use the container extension library, apart from this procedure, you must specify the settings in the J2EE server (such as specifying the definition files).

For details on the settings in the J2EE server, see 14.3.3 Settings for using the container extension library functionality.