Show TOC Start of Content Area

Procedure documentation Working with Libraries  Locate the document in its SAP Library structure

Use

In the process of developing applications, it is common that you use prefabricated functionality or components. Such used functionality is often packed into library that consists of JAR files, ready to be included into your application’s classpath. Such library could provide:

      Logic writer for previous similar task

      Integral part of the project, common to many modules (applications)

      Framework that you want to re-use and is not delivered with the application engine of your choice

In Java EE 5, there are two types of libraries:

      Standard libraries

These provide resources to all enterprise applications deployed on the server. They are packed in EAR files like the enterprise applications.

      Bundled libraries

These provide resources only to a single enterprise application, and are packed inside the application's EAR file.

Procedure

Note

In earlier releases of the SAP NetWeaver Developer Studio, standard libraries were created in a separate Library project type. If you want to re-use your old library projects in the current version of the Developer Studio, you have to transform them into Enterprise Application Projects.

More information: Migrating Old Library Projects.

Creating Standard Libraries

More information: Creating Standard Libraries

Creating Bundled Libraries

More information: Creating Bundled Libraries

Using Heavy Application Libraries

With heavy application libraries you can load Hibernate classes with the highest priority.

More information: Using Heavy Application Libraries

End of Content Area