Portlet Factory, Version 6.1.2


 

Schema refresh rules

As of version 5.7, IBM® WebSphere Portlet Factory implements a global schema cache. Given the availability of this cache, the Schema builder refreshes a schema according to the following rules:

Design Time

Each time a WebApp is regenerated, the schema is always re-fetched and regenerated. The previous schema entry is removed from the cache and replaced with the new one.

Execution Time

Execution time regeneration does not cause the schema to be refreshed. A global Schema Cache holds parsed schemas against a key which is either the URL to the schema, or the schema source (if source is supplied explicitly). The first WebApp regeneration that references a schema on a particular URL (or with specified source) will cause the schema to be parsed. That parsed schema will be returned to any WebApp regeneration that subsequently asks for the schema for that URL (or source).

Parent topic: Schema builder


Library | Support |