composite是部署的基本單元。在裝配文件中,composite元素是根元素。
composite元素可以包含composite、service、component、reference等其他元素,component是非常重要的元素。
component元素可以包含0...n個service,reference,property 和0...1個implementation。
實現component中的implementation的方式可以有java、bpel、composite等,如下圖。
在這個例子中,就是使用composite方式實現composite中包括的component的implementation。
在基于web應用的sca服務組件的裝配文件中,是這樣表示composite實現component的。
文件名為default.scdl
新聞熱點
疑難解答