Entering content frame

Component documentationPortal Application Archives Locate the document in its SAP Library structure

The Portal Archive (PAR) files contain all the file-based resources that make up a portal application. Resources of a portal application are:

·        Web resources

These are all the file-based resources that are accessible via HTTP(s) requests to a Web server, which provides access to the portal. In a PAR file, all files that are not in PORTAL-INF are in this category

·        Non-Web resources

All files that are in the PORTAL-INF folder of the PAR file are not accessible via an HTTP(S) request to the portal. Within the non-Web resources, the following folders and files have a special meaning:

Folder

Description

PORTAL-INF/lib

Contains all library files (JAR) that contain definitions of Java classes and other class loader relevant resources (for example ResourceBundles) that can be shared by referencing portal applications

PORTAL-INF/classes

Contains all class files and other files that define Java classes and other class loader-relevant resources (for example ResourceBundles), which can be shared by referencing portal applications

PORTAL-INF/private/lib

Contains all library files (JAR) that contain definitions of Java classes and other class loader relevant resources (for example ResourceBundles) that are used exclusively by the application

PORTAL-INF/private/classes

Contains all class files and other files that define Java classes and other class loader-relevant resources (for example ResourceBundles), which are used exclusively by the application

 

File

Description

PORTAL-INF/portalapp.xml

The XML file that contains the deployment descriptor of the portal application. The deployment descriptor describes all application entities of the application as far as the runtime is concerned

META-INF/manifest.mf

The manifest file of the PAR file. It contains versioning and origin information.

Example

The following figure shows an example of a typical PAR file structure:

 

  <Portal Archive>

    |

    +-- META-INF

    +-- MANIFEST.MF

    +-- images

    +-- scripts

    +-- ... 

    |

    +-- PORTAL-INF            ç Non-WEB resources

    |   |

    |   +-- portalapp.xml

    |   |

    |   +-- lib               ç API: JAR files only

    |   +-- classes           ç API: Classes only

    |   |

        +-- private

            +-- lib           ç CORE: JAR files only

            +-- classes       ç CORE: Classes only

 

 

See also:

 

·        PAR Files – Ways to Build

·        Structure of the portalapp.xml

·        Class Loading in the Portal Runtime

·        Deployment Descriptor Example

·        Directory Structure

·        Logger Configuration

 

 

Leaving content frame