Method and System for Weight based Web Context Switching with Multiple Extended Web Containers
Publication Date: 2010-Dec-15
The IP.com Prior Art Database
A method and system for weight based web context switching with multiple extended web containers is disclosed.
Page 01 of 2
Method and System for Weight based Web Context Switching with Multiple Extended
Disclosed is a method and system for weight based context switching with multiple
extended web containers. The method and system provide multiple web containers and
describe loading patterns of a web context.
A web context is essentially a directory or a directory structure that is published on the
web. The web context typically includes a customization associated with the web
content. Examples of the web content include JSP*, HTML, Java* script, images etc. Consider an application specific context-extensions.xml. For example:
DIR >/ABC.war"> <Extended-application location="
In the above sample, "ABC.war" represents the web archive of an enterprise application
and "customization1.war" and "customization2.war" are extensions that are built at a
customer location that contains the web content.
Further, loadWeight corresponds to a variable with the range 0-1, wherein '0'
corresponds to the lowest weight and '1' corresponds to the highest weight. The above
configuration step can be either manual or implemented using a script or an
administration console UI.
Once the application is started, the application server looks in the specified location, for
example, ABC.war. If the resource is not found, the application server gets the list of
extended web context and then applications picks up the extended context which has
highest weight from the above example. Thus, customization1...