Use the Shared library relationship and Shared library relationship mapping pages to specify relationship identifiers and composition unit names for shared libraries that modules in your enterprise application reference. When installing your enterprise application, the product creates a composition unit for each shared library relationship in the business-level application that you specified on the Select installation options page of the application installation wizard.
To view this console page in a wizard, click .
After installation, click .
To map library files used in a business-level application to an application or web module, use the Shared library relationship mapping page:
Specifies the name of the module associated with the shared libraries.
Specifies the location of the module relative to the root of the application EAR file.
Specifies an identifier for a module shared library relationship. The product assigns an identifier to the composition unit that it creates for the shared library relationship in the business-level application.
Specifies a composition unit name for the shared library relationship. The product uses this value to name the composition unit that it creates for the shared library relationship in the business-level application that you specified on the Select installation options page of this wizard.
This setting is only in the application installation and update wizards.
Specifies whether the product maps the composition unit for the shared library relationship to the same deployment target as the business-level application.
Avoid trouble: If you later change the deployment target
of the business-level application or its modules, you must manually
update the shared library target to match the target of the application
and modules. The targets of shared library composition units are not
automatically updated. Not updating the target of the shared library
composition unit might cause java.lang.ClassNotFoundException errors
and prevent the application or its modules from starting. To prevent
these error conditions, also ensure that shared libraries upon which
other modules or applications depend have a lower starting weight
than dependent applications and modules.gotcha