+

Search Tips   |   Advanced Search

Extend the portal class path

Custom code must either be added by a PAA or as APP through the administrative console. There are several options to add general code that is part of an EAR or WAR file.

  1. Add the custom code to a shared library.

    1. Use the administrative console to define a shared library, then associate the shared library with an application, module, or server.

    2. Add the shared library to the custom applications or to the entire WebSphere Portal Server.

  2. If we do not want to create a shared library, we can drop the code into...

      /opt/IBM/WebSphere/wp_profile/classes/MyCustom.jar

    The code is then available to all applications in the server.

  3. If we are developing a PAA, include the compressed files in either...

      PAA_components/COMPONENTNAME/shared/app
      PAA_components/COMPONENTNAME/shared/ext

    The solution installer handles creating the shared libraries for these files.


Parent Developing