Patent ID: 8862686

Claim:
A method of generating a logically merged web application, comprising: initializing a runtime environment for a web application; during the initialization process of the runtime environment, determining whether the web application includes shared web modules that need to be logically merged with existing web modules of the web application, logically merged referring to a data structure defining the logically merged web application, the data structure combining both code of the existing web modules of the web application and also a copy of code of the shared web modules; upon determining that the web application includes shared web modules that need to be logically merged, reading a shared module designation file of the web application and identifying the shared web modules to be merged along with their priorities, the shared module designation file including descriptors of shared web modules for logically merging with existing web modules of the web application, the descriptors identifying both a filename for each of the shared modules and also a priority for each of the shared web modules; determining paths to the shared web modules and resolving any conflicts between web resources of the shared web modules using the identified priorities in the shared module designation file by determining the priority associated with each shared web module and resolving any conflicts in favor of one of the shared web modules having a higher priority than a different one of the shared web modules; and, logically merging the shared web modules with the existing web modules of the web application to generate a logically merged web application.