You open the Standard Enterprise Application Project Properties dialog box by right-clicking any and choosing Properties. The Libraries page lets you define the JARs, folders, libraries, and projects that are added to the runtime classpath of the enterprise application. The libraries that you add are then available to all the modules in the project.
Use the buttons to add JAR files, projects or libraries to the classpath.
In the Libraries page, you can set the following properties:
You use the Packaging page to specify the libraries that are packaged in the EAR archive when you build your enterprise application. However, your enterprise application may require elements such as special libraries (such as JDBC drivers or additional libraries), JARs or other projects that are not listed in the Packaging page. If you want to step through these elements when debugging the application, you need to explicitly specify the elements in the Libraries page.
For example, the Packaging page may specify that your WAR archive will be bundled in the EAR archive. However, the web application may require a subproject that is not packaged in the WAR archive but which will be copied to the EAR archive when you build the enterprise application. If you want to be able to step through the subproject when debugging the enterprise application, you need to explicitly specify the subproject in the Libraries page.