Portlet Factory, Version 6.1.2


 

Associating model requests with profiles

The IBM® WebSphere Portlet Factory servlet applies a profile to a model for each profile set associated with the model by performing these steps:

When a user requests (via a URL) a WebSphere Portlet Factory web application to run, the following process takes place:

  1. The WebSphere Portlet Factory servlet associates the request, typically based on the user, with a profile.

  2. For each profile set associated with the model, the profile selection handler returns the profile name to use based on:

    • Segment

    • Other logic

  3. The WebSphere Portlet Factory servlet checks to see if a generated instance of the web application, with the appropriate profile(s) applied, already exists.

  4. If the web application instance exists, the WebSphere Portlet Factory servlet executes its main action list or method.

  5. If the appropriate web application does not exist, the WebSphere Portlet Factory servlet regenerates the model, applying the profiles returned by the profile selection handlers, and executes the web application's main action list or method.

  6. The WebSphere Portlet Factory servlet stores the regenerated version of the web application for subsequent requests that use the same profile(s).

Parent topic: Profiles


Library | Support |