摘要 |
A system and method for sharing web modules amongst a plurality of other web applications are provided. With the system and method, shared web modules are stored in an archive data structure and are accessible for use with web applications. The web applications, and/or the web modules of the web applications, may include a shared web module designation file that identifies the shared web modules that are to be incorporated into the web modules for the web application. A runtime component is provided that determines, when the web application web modules are being loaded, whether the web application and/or web modules have a shared web module designation file that identifies shared web modules that are to be incorporated into the web modules of the web application. If so, the runtime component locates these shared web modules and logically merges them with the web modules of the web application taking into account precedence or priority of the shared web modules as designated by the shared web module designation file. The result is a logically merged web module that contains the shared web modules referenced in the shared web module designation file.
|