To add Micro Focus support for EJBs

  1. Locate the file mfejblib.jar, which contains the Micro Focus support for EJBs. For details, see the section CustomRecord and the RuntimeProperties Support in the chapter Deploying Interfaces in your Configuration and Administration Guide for Enterprise Server.
  2. Copy mfejblib.jar to the root directory of your enterprise archive file (.ear). By default, the mfejblib.jar belongs in the root because the classpath is set to this in the EJB's manifest.mf file.

    If you copy mfejblib.jar to a different directory, you need to change the classpath in the manifest.mf file in the EJB's .jar file, which is in myproject/Repos/myservice.deploy

  3. Add the mfejblib.jar file to the archive file that you want to deploy.

    For most application servers, you can do this using their administrative tools. Alternatively, you can use a jar command similar to the following:

    jar -uvf myApplication .ear mfejblib.jar

Related Topics