软件复用是解决软件危机的有效途径.随着软件复用技术和网络技术的发展,在Internet上出现了越来越多的软件构件库.复用者需要的构件往往分散在多个构件库中,而各个库中构件的描述方式也各不相同;这给复用者获取构件带来了一定的困难.因此,需要有一种有效的机制来帮助他们在多个构件库中获取构件.提出一种构件库互联技术DCLITTA以支持在分布的构件库之间实现资源共享,并为复用者提供了“透明”的检索机制.DCLITTA采用对等网络(P2P)体系结构将各个独立的构件库组织在一起.同时,针对构件库间构件描述模型的差异,DCLITTA通过自动地将复用者的检索请求进行重构来改善检索的效果.基于该互联技术,已设计实现了相应的支持系统,并实际应用于北京、上海等软件园的构件库中.
Software reuse is a feasible way to solve the software crisis. With the development of software reuse techniques and network techniques, more and more component libraries emerge on the Internet. However, the components that the reuser needs usually distribute in multiple libraries, and the ways of component description in those libraries are different. This makes the acquirement of components quite difficult. Thus, it is necessary to provide reusers with an effective mechanism to help them acquire components from multiple component libraries. Proposed in this paper is a component library interconnection technique called DCLITTA which supports resource sharing among distributed component libraries and supplies a 'transparent' retrieval mechanism to reusers. DCLITTA organizes independent component libraries in a flexible way by leveraging the peer to peer (P2P) network architecture. Meanwhile, to deal with the differences in component description models among component libraries, DCLITTA refactors reusers' queries automatically to improve the retrieval effect. Based on the technique introduced in this paper, the authors designed and implemented the supporting system which has already been put into practical use in the component libraries in Beijing and Shanghai software parks.