Editing JARs

Use the View a JAR Resource - Configuration page to update JAR files. Updating a JAR file essentially involves pointing the resource to a new version of the JAR, as you cannot edit a JAR using ALSB.

  1. If you have not already done so, click Create to create a new session, or click Edit to enter an existing session. See Using the Change Center.
  2. Locate the JAR, as described in Locating JARs.
  3. Click the JAR name. The View a JAR Resource - JAR Configuration page displays the information shown in Table 7-2.
  4. Table 7-2 JAR Information 
    Property
    Description
    Last Modified By
    The user who imported this JAR into the configuration.
    Last Modified On
    The date and time that the user imported this JAR into the configuration. Click the date and time link to view the change history of this resource. See View Change History page.
    References
    The number of JARs that this JAR references. If such references exist, click the numeric link to view a list of the JARs. See Viewing References to Resources.
    Referenced by
    The number of objects that reference this JAR. If such references exist, click the numeric link to view a list of the objects. See Viewing References to Resources.
    Description
    A description of this JAR, if one exists.

    The JAR configuration is displayed by default, which includes the information shown in Table 7-3.

    Table 7-3 JAR Configuration Details
    Property
    Description
    JAR Configuration
    The list of classes and interfaces in this JAR.
    Click (+) beside the name of a Java class to display a list of methods included in the class.

  5. To make a change to the fields, click Update.
  6. The only field you can edit is Description. You cannot edit a JAR in ALSB. To update the JAR, you must select a new JAR to use. To learn how, see Adding JARs.

  7. Click Save to commit the updates in the current session.
  8. To end the session and deploy the configuration to the run time, click Activate under Change Center.
Note: If you change the JAR used by an EJB Business Service (point the JAR resource to a new version of the JAR), you need to redeploy the EJB. You will then have to edit any EJB service that uses this JAR, and reselect the JAR resource, save, and activate. That will repackage the EJB business service to use the new JAR.
Note: Java callout actions and Tuxedo-based services, however, will automatically pick up the new JAR.