发明名称 Real software components for achieving real component-based design
摘要 A method and system for creating a software application code comprising multiple Replaceable Self-Contained Components (RSCCs) is disclosed. In one embodiment, the method includes creating each RSCC by instantiating and initializing an object instance of a Replaceable Component Class (RCC) that substantially encapsulates construction code of a Self-Contained Component (SCC). A method for creating communication code for allowing necessary collaboration between the RSCCs uses a Service Registration Object (SRO), implements necessary coupling code within the RSCCs that provide services for registering its services with the SRO and implements necessary coupling code within the RSCCs that require services for finding and getting the required services from the SRO. Another method for creating necessary communication code between any two RSCCs includes implementing appropriate coupling interfaces in each of the two RSCCs and implementing necessary communication code in the code of the application using the coupling interfaces of the two RSCCs.
申请公布号 US9058177(B2) 申请公布日期 2015.06.16
申请号 US201313890281 申请日期 2013.05.09
申请人 发明人 Chiluvuri Raju Venkata
分类号 G06F9/44;G06F9/445 主分类号 G06F9/44
代理机构 代理人
主权项 1. A computer implemented method for running a software application comprising code for using multiple Replaceable Component Classes (RCCs) for including or creating multiple Replaceable Self-Contained Components (RSCCs) in the software application, the method comprising: including or creating each RSCC of the multiple RSCCs in the software application using a RCC from the multiple RCCs, wherein the RSCC is an object instance of the RCC that is included in the software application by instantiating and initializing an object instance of the RCC, wherein the RCC is implemented in a set of exclusive files and the set of exclusive files comprises substantial portion of construction code comprising application specific code and resources exclusively necessary for including a Self-Contained Component (SCC) of the software application, whereby the RCC is used for including the RSCC instead of including the SCC in the software application, wherein substantial portion of construction code of a Self-Contained Component (SCC) means at least 75 percent of application specific code and resources exclusively necessary for including the SCC of the software application; the software application further comprising at least one of: (i) exclusive files of all the multiple RCCs comprising at least 9000 lines of the application specific code implemented for the software application; (ii) total application specific code implemented for the application comprising at least 9000 lines and application specific code implemented in exclusive files of the multiple RCCs comprises at least 50% of the total application specific code; (iii) code for using at least ten large RCCs; (iv) code for using any combination of at least twenty large RCCs or medium RCCs; (v) code for using at least 5 very large RCCs; (vi) code for using at least 3 very large RCCs and ten RCCs of any size; and (vii) code for using at least one very large RCC, two large RCCs, three medium RCCs and ten RCCs of any size, wherein exclusive files of each medium RCC comprises at least a hundred lines of application specific code, exclusive files of each large RCC comprises at least two hundred lines of application specific code and exclusive files of each very large RCC comprises at least five hundred lines of application specific code; and executing communication code for each RSCC from a subset of the multiple RSCCs, wherein the communication code allows the RSCC to collaborate with one or more parts or other RSCCs in the software application, wherein the software application comprises at least one of: (a) parts of the communication code for the RSCC; and (b) modules or enabling mechanisms that are used by parts of the communication code implemented in the RSCC or in the software application.
地址