About Shared UIX Installable Resources

ADF UIX includes a set of installable resource files (distributed in uix2-install.zip, and installed in /cabo) that are the image, stylesheet, JSP, and JavaScript library files used by UIX to create the user interfaces.

By default each UIX application deployed from JDeveloper (version 9.0.5 and later) is deployed with a local copy of the UIX installable resource files. You can, however, choose not to bundle the UIX installable resources in the WAR deployment profile.

If you don't use a local copy of the UIX installable resources in the deployed application, you can configure multiple applications to share a common set of UIX installable resources.

Sharing a single copy of the UIX installable resources across applications not only reduces disk space usage but it also simplifies the upgrade process when new versions of UIX are released. From a performance perspective, sharing UIX resources actually reduces the number of HTTP requests made to the server, as browsers only need to download the resource files once for all applications that reference the shared resource.

To enable applications to share a single set of UIX installable resources, Oracle recommends that you deploy the shared resources as a separate web application with its own URL that can be used by all other applications. You must also remove any local copy of the UIX resources in the directory of the deployed application.

For a sample OC4J directory that is set up for shared UIX installable resources, see About OC4J Directory Structure for UIX Deployment. Instructions on how to set up a UIX application for shared installable resources are found in the "Configuration for ADF UIX" chapter of the ADF UIX Developer's Guide.

Note: If deploying Business Components UIX applications to standalone OC4J, note that the BC4J Admin application in bc4j.ear now has local UIX installables; it no longer sets up shared UIX installables in cabo.war. UIX JSP applications that used to rely on shared UIX installables are converted to include local UIX installables when the projects are opened in this release of JDeveloper.


About ADF Business Components Deployment
About Libraries for Programmatic Clients Accessing ADF Business Components
About UIX Deployment-Specific Initialization Parameters
About UIX Deployment Dependencies
Packaging J2EE Applications
Deploying J2EE Applications
Deploying Applications to J2EE Application Servers

 

Copyright © 1997, 2004, Oracle. All rights reserved.