Edit Library - WebLogic J2EE Library Dialog

Use this dialog to set the path to a library module.

A J2EE library is a stand-alone EJB, a Web Application module, or a JAR file that is registered with the J2EE application container. The library resources can be shared between muliple applications, alleviating the need to have duplicate copies of the resources in each application. For an overview of J2EE libraries, see J2EE Library: Overview in the WebLogic Server documentation.

Note that this dialog does not add a new J2EE library to the application classpath. Instead it configures a library that is already on the application classpath. To add new library module to see Setting up JAR and Library Dependencies.

How To Access This Dialog

In the Project Explorer view, right-click a WebLogic J2EE library and select Edit.

How To Use This Dialog

img

Use the Browse button to select from a list of available libraries.

Specification Version identifies the specificaiton to which a library conforms and Implementation Version identifies the actual code implementation for the library.

Note that the library name does not necessary reflect its specification version or implementation version. For example, the library named beehive-netui-1.0.1-10.0 can have the version number 1.0 and the implementation number 1.0.2.2.

The Allow new versions check mark controls whether WebLogic Server assigns the exact library version indicated or a newer version.

If it is unchecked then only the specification and implementation versions listed are supported by the application. If the exact version is not available, then deployment errors will result.

If it is checked and a newer version of the library is deployed on the server, WebLogic Server will always assign the newer version and no deployment errors will result.  (Provided that no other errors result from specification or implementation differences.)

See Setting up JAR and J2EE Library Dependencies for more details.

Related Topics


Still need help? Post a question on the Workshop newsgroup.