发明名称 System and method for providing shared web modules
摘要 A system, apparatus, and method for sharing web modules amongst a plurality of other web applications are provided. Shared web modules are stored in an archive data structure for use with web applications. The web applications, and/or the web modules of the web applications, may include a designation file that identifies the shared web modules that are to be incorporated into the web modules for the web application. A runtime component selectively locates these shared web modules and logically merges them with the web modules of the web application according to 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.
申请公布号 US8862686(B2) 申请公布日期 2014.10.14
申请号 US200310650894 申请日期 2003.08.28
申请人 International Business Machines Corporation 发明人 McGee Jason Robert;Morton Michael John;Peters Brent A.
分类号 G06F15/167;G06F15/177;G06F15/173;G06F15/16;H04L29/08;G06F9/445;G06F9/48;H04L29/06 主分类号 G06F15/167
代理机构 CRGO Law 代理人 Greenberg, Esq. Steven M.;CRGO Law
主权项 1. 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.
地址 Armonk NY US
您可能感兴趣的专利