摘要: | 元件化軟體開發(Component-Based Software Development, CBSD)已經成為一個新的系統開發方式。許多研究均指出,使用此種系統開發方式可大幅節省系統開發所需的時間及成本。在建構一個新系統時,系統開發人員僅需取得具有適合功能的軟體元件,並且將其整合成目標系統。除此之外,當系統的部份功能需要加以修改時,系統開發人員亦僅需將該部份的功能元件以新元件取代即可。
對於軟體元件進行整合時,系統開發人員也面對了某些困難。由於組成系統的軟體元件可能由不同的外部廠商所開發,造成元件間的介面可能發生不相容的情形。為了克服這個問題,本研究提出一個軟體元件配接模型,本模型使用Gamma, Helm, Johnson, and Vlissides所提出之配接器設計型樣的概念,同時本模型將應用於CORBA 分散式物件計算架構。最後本研究將以一個程式實例驗證所提出之模型的有效性。
Component-Based software development (CBSD) has become a new system de-velopment paradigm. Many researches have shown that develop a new system in this way can save time and cost of development significantly. When constructing a new sys-tem, the developers just need to get the software components with proper functions, and then integrate them into a system. In addition, if parts of the system functions need to be modified, system developers only need to replace the software components with new ones.
However, when integrating these software components into a system, developers often face some difficulties. Because the software components might be built by third-party vendors, the interfaces of two components may not match well. In order to overcome this problem, this study proposes a software component adaptation model us-ing the concept of adapter design pattern proposed by Gamma, Helm, Johnson, and Vlissides. Meanwhile, this model can also be used in CORBA, a distributed object computing architecture. Finally, this study uses an example program to verify the model. |