Author: jsdelfino
Date: Wed Nov 28 16:53:01 2007
New Revision: 599231
URL: http://svn.apache.org/viewvc?rev=599231&view=rev
Log:
Declaring the catalog component.
Added:
incubator/tuscany/java/sca/tutorial/store-ejb/store-ejb.composite
- copied, changed from r599227,
incubator/tuscany/java/sca/tutorial/store-ejb/store-merger.composite
Removed:
incubator/tuscany/java/sca/tutorial/store-ejb/store-merger.composite
Copied: incubator/tuscany/java/sca/tutorial/store-ejb/store-ejb.composite (from
r599227, incubator/tuscany/java/sca/tutorial/store-ejb/store-merger.composite)
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store-ejb/store-ejb.composite?p2=incubator/tuscany/java/sca/tutorial/store-ejb/store-ejb.composite&p1=incubator/tuscany/java/sca/tutorial/store-ejb/store-merger.composite&r1=599227&r2=599231&rev=599231&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store-ejb/store-merger.composite
(original)
+++ incubator/tuscany/java/sca/tutorial/store-ejb/store-ejb.composite Wed Nov
28 16:53:01 2007
@@ -17,57 +17,15 @@
* specific language governing permissions and limitations
* under the License.
-->
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
- targetNamespace="http://store"
- name="store-merger">
-
- <component name="Store">
- <t:implementation.widget location="uiservices/store.html"/>
- <service name="Widget">
- <t:binding.http uri="http://localhost:8101/ui"/>
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ targetNamespace="http://store"
+ name="store-ejb">
+
+ <component name="VegetablesCatalog">
+ <implementation.ejb ejb-link="catalog-ejb.jar#CatalogEJB"/>
+ <service name="Catalog">
+ <binding.ejb uri="CatalogEJB"/>
</service>
- <reference name="catalog" target="Catalog">
- <t:binding.jsonrpc/>
- </reference>
- <reference name="shoppingCart" target="ShoppingCart/Cart">
- <t:binding.atom/>
- </reference>
- <reference name="shoppingTotal" target="ShoppingCart/Total">
- <t:binding.jsonrpc/>
- </reference>
- </component>
-
- <component name="Catalog">
- <implementation.java
class="services.merger.MergedCatalogImpl"/>
- <property name="currencyCode">USD</property>
- <service name="Catalog">
- <t:binding.jsonrpc/>
- <binding.ws uri="/CatalogWebService"/>
- </service>
- <reference name="fruitsCatalog" target="FruitsCatalog"/>
- <reference name="vegetablesCatalog"
target="CloudVegetablesCatalog"/>
- <reference name="currencyConverter"
target="CurrencyConverter"/>
- </component>
-
- <component name="FruitsCatalog">
- <implementation.java class="services.FruitsCatalogImpl"/>
- <property name="currencyCode">USD</property>
- <reference name="currencyConverter"
target="CurrencyConverter"/>
- </component>
-
- <component name="ShoppingCart">
- <implementation.java class="services.ShoppingCartImpl"/>
- <service name="Cart">
- <t:binding.atom/>
- </service>
- <service name="Total">
- <t:binding.jsonrpc/>
- </service>
- </component>
-
- <component name="CurrencyConverter">
- <implementation.java class="services.CurrencyConverterImpl"/>
- </component>
+ </component>
</composite>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]