
A Library project can contain JAR files as well as references to existing J2EE Engine components. You generally only include JARs in a project if these are new JAR files that are not yet contained in another engine component. You use references if a JAR is already available on the J2EE Engine as a library, interface, or service.
Note that each JAR file should only exist once on the J2EE Engine. This also applies if, for example, two different applications utilize helper functions of a JAR. In this case, you must ensure that these helper functions are not packed into the relevant EAR in both applications, but are instead stored in a separate library.
Adding JARs
The multipage editor opens in the right pane.
Adding References
The multipage editor opens in the right pane.
The differences between the two options and the steps for each option are described in the following table:
| Action | Usage | Steps |
|---|---|---|
|
Creating a new reference |
Create a new reference if the relevant library was not installed together with the engine, but was deployed on it at a later stage. |
|
|
Selecting an existing reference |
Select an existing reference if the relevant library was already installed as part of the J2EE Engine or if it is a new Library project from your workspace. |
|