国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 編程 > JSP > 正文

用JSP調(diào)用以Web應(yīng)用形式部署在Tomcat 5.5中的SCA服務(wù)組件的例子

2024-09-05 00:19:12
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友
注冊(cè)會(huì)員,創(chuàng)建你的web開發(fā)資料庫(kù),

composite是部署的基本單元。在裝配文件中,composite元素是根元素。

composite元素可以包含composite、service、component、reference等其他元素,component是非常重要的元素。

component元素可以包含0...n個(gè)service,reference,property 和0...1個(gè)implementation。

實(shí)現(xiàn)component中的implementation的方式可以有java、bpel、composite等,如下圖。

在這個(gè)例子中,就是使用composite方式實(shí)現(xiàn)composite中包括的component的implementation。

在基于web應(yīng)用的sca服務(wù)組件的裝配文件中,是這樣表示composite實(shí)現(xiàn)component的。

文件名為default.scdl

<?xml version="1.0" encoding="utf-8"?>
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
           name
="calculatorcomposite">

    
<component name="calculatorservicecomponent">
        
<implementation.composite name="calculatorcomposite" jarlocation="lib/sample-calculator-1.0-incubator-m2.jar"/>
    
</component>
</composite>
發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 昭苏县| 安康市| 胶南市| 霸州市| 宜春市| 瑞丽市| 宜丰县| 满城县| 崇义县| 武城县| 岑溪市| 惠水县| 邵东县| 介休市| 贡觉县| 监利县| 恩施市| 东光县| 广汉市| 抚顺市| 九龙县| 寿阳县| 巴林左旗| 安阳市| 宣威市| 新竹市| 河津市| 盖州市| 阿克苏市| 广灵县| 南和县| 板桥市| 上蔡县| 修文县| 深圳市| 康平县| 孝昌县| 灵山县| 镇巴县| 高州市| 新安县|