diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:06:58 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:06:58 +0000 |
commit | 3dd7e2c4da9c80b8182a2d04dc129a67aa7910df (patch) | |
tree | 71b970aa1c5987564405511d3912044387118fd4 /branches/sca-java-0.99/samples/osgi-supplychain/readme.htm | |
parent | 0f3f9b59b310833f31ba234ee4aefa808649833c (diff) |
Moving 1.x branches
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835121 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-0.99/samples/osgi-supplychain/readme.htm')
-rw-r--r-- | branches/sca-java-0.99/samples/osgi-supplychain/readme.htm | 332 |
1 files changed, 0 insertions, 332 deletions
diff --git a/branches/sca-java-0.99/samples/osgi-supplychain/readme.htm b/branches/sca-java-0.99/samples/osgi-supplychain/readme.htm deleted file mode 100644 index f6948ab471..0000000000 --- a/branches/sca-java-0.99/samples/osgi-supplychain/readme.htm +++ /dev/null @@ -1,332 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<!-- - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - --> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1"> - <meta http-equiv="Content-Style-Type" content="text/css"> - <title>Tuscany Supply Chain</title> -<!-- LINK rel="stylesheet" href="ait.css" type="text/css" --> - <style type="text/css" media="all"> -@import url("../../../../css/maven-base.css"); -@import url("../../../../css/maven-theme.css"); -@import url("../../../../css/site.css"); - </style> - <link rel="stylesheet" href="./css/print.css" type="text/css" - media="print"> -</head> -<body> -<h2>Tuscany -Supply Chain Sample using OSGi<br> -</h2> -<h3>Overview</h3> -<p>The Tuscany OSGi supply chain sample shows using the Tuscany SCA -runtime in a J2SE environment executing the SCA asynchronous API -with OSGi and Java implementation types.</p> -<h3>Location</h3> -This -sample is located in the samples\osgi-supplychain directory.<br> -<h3>Setup</h3> -This sample depends on the Tuscany runtime -and the sample jar, <span style="font-weight: bold;"></span>both of -these must be available on the classpath to run the sample. -<h3>Running</h3> -In the directory samples\osgi-supplychain -use the JDK 1.5 java command to run the class <span - style="font-weight: bold;">supplychain.SupplyChainClient</span> -<pre>Linux: java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-osgi-supplychain.jar supplychain.SupplyChainClient</pre> -<pre>Windows: java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-osgi-supplychain.jar supplychain.SupplyChainClient</pre> -<h3>Results</h3> -<p>The sample when run should simply display on the standard output -some startup messages followed by:<br> -<br> -Work thread Thread[Thread-1,5,main] -- <span style="font-weight: bold;">Order, submitted, fulfilled, shipped</span><code></code></p> -<h3>Code Overview</h3> -The source files are physically organized as shown below: -<table style="text-align: left; width: 100%;" border="1" cellpadding="2" - cellspacing="2"> - <tbody> - <tr> - <td>src<br> -+---main<br> - -+---java<br> - -¦ +---supplychain<br> - ¦ - OSGiBundleImpl.java<br> - ¦ - SupplyChainClient.java<br> - -¦ +---customer<br> - -¦ - -Customer.java<br> - -¦ -JavaCustomerComponentImpl.java<br> - -¦ -OSGiCustomerComponentImpl.java<br> - -¦ -OSGiCustomerImpl.java<br> - -¦ +---retailer<br> - -¦ - -Retailer.java<br> - -¦ -JavaRetailerComponentImpl.java<br> - -¦ -OSGiRetailerComponentImpl.java<br> - -¦ -OSGiRetailerImpl.java<br> - -¦ +---shipper<br> - -¦ -Shipper.java<br> - -¦ -JavaShipperComponentImpl.java<br> - -¦ -OSGiShipperComponentImpl.java<br> - -¦ -OSGiShipperImpl.java<br> - -¦ +---warehouse<br> - -¦ -Warehouse.java<br> - -¦ -JavaWarehouseComponentImpl.java<br> - -¦ -OSGiWarehouseComponentImpl.java<br> - -¦ -OSGiWarehouseImpl.java<br> - -¦<br> - +---resources<br> - -¦ +---osgi<br> - ¦ - Customer.mf<br> - ¦ - Retailer.mf<br> - ¦ - Shipper.mf<br> - ¦ - Warehouse.mf<br> - ¦ -+---ds<br> - ¦ - Customer.mf<br> - ¦ - Retailer.mf<br> - ¦ - -Shipper.mf<br> - ¦ - -Warehouse.mf<br> - ¦ - Customer.xml<br> - ¦ - Retailer.xml<br> - ¦ - -Shipper.xml<br> - ¦ - -Warehouse.xml<br> - ¦ -Customer.componentType<br> - ¦ -Retailer.componentType<br> - ¦ -Shipper.componentType<br> - ¦ -Warehouse.componentType<br> - ¦ -supplychain.composite<br> - ¦ -supplychain.ds.composite<br> - <br> - <br> - </td> - </tr> - </tbody> -</table> -<br> -<table style="text-align: left; width: 879px; height: 154px;" border="0" - cellpadding="2" cellspacing="2"> - <tbody> - <tr> - <td style="vertical-align: top;">Customer.java</td> - <td>Defines the Java interface implemented by the Customer -component.</td> - </tr> - <tr> - <td style="vertical-align: top;">JavaCustomerComponentImpl.java</td> - <td>POJO Implementation of the SCA Customer component.</td> - </tr> - <tr> - <td style="vertical-align: top;">OSGiCustomerComponentImpl.java</td> - <td style="vertical-align: top;">OSGi Declarative Services -Implementation of the SCA Customer component.</td> - </tr> - <tr> - <td style="vertical-align: top;">OSGiCustomerImpl.java</td> - <td style="vertical-align: top;">OSGi Procedural Services -Implementation of the SCA Customer component.</td> - </tr> - <tr> - <td style="vertical-align: top;">Retailer.java</td> - <td>Defines the Java interface implemented by the Retailer -component.</td> - </tr> - <tr> - <td>JavaRetailerComponentImpl.java</td> - <td>POJO Implementation of the SCA RetailerComponent -component.</td> - </tr> - <tr> - <td style="vertical-align: top;">OSGiRetailerComponentImpl.java</td> - <td style="vertical-align: top;">OSGi Declarative Services -Implementation of the SCA Retailer component.</td> - </tr> - <tr> - <td style="vertical-align: top;">OSGiRetailerImpl.java</td> - <td style="vertical-align: top;">OSGi Procedural Services -Implementation of the SCA Retailer component.</td> - </tr> - <tr> - <td>Shipper.java</td> - <td>Defines -the Java interface implemented by the Shipper component</td> - </tr> - <tr> - <td>JavaShipperComponentImpl.java</td> - <td>POJO Implementation of the SCA ShipperComponent -component.</td> - </tr> - <tr> - <td style="vertical-align: top;">OSGiShipperComponentImpl.java</td> - <td style="vertical-align: top;">OSGi Declarative Services -Implementation of the SCA Shipper component.</td> - </tr> - <tr> - <td>OSGiShipperImpl.java</td> - <td>OSGi Procedural Services Implementation of the SCA Shipper -component.</td> - </tr> - <tr> - <td>Warehouse.java</td> - <td>Defines -the Java interface implemented by the Warehouse component.</td> - </tr> - <tr> - <td>JavaWarehouseComponentImpl.java</td> - <td>POJO Implementation of the SCA WarehouseComponent -component.</td> - </tr> - <tr> - <td style="vertical-align: top;">OSGiWarehouseComponentImpl.java</td> - <td style="vertical-align: top;">OSGi Declarative Services -Implementation of the SCA Warehouse component.</td> - </tr> - <tr> - <td style="vertical-align: top;">OSGiWarehouseImpl.java</td> - <td style="vertical-align: top;">OSGi Procedural Services -Implementation of the SCA Warehouse component.</td> - </tr> - <tr> - <td style="vertical-align: top;">OSGiBundleImpl.java<br> - </td> - <td style="vertical-align: top;">Common code for OSGi Procedural -Services Implementation of the SCA components<br> - </td> - </tr> - <tr> - <td style="vertical-align: top;">SupplyChainClient.java</td> - <td style="vertical-align: top;">SupplyChainClient.java -loads SCA runtime <br> - </td> - </tr> - <tr> - <td style="vertical-align: top;">SupplyChainClientTestCase.java</td> - <td style="vertical-align: top;">JUnit test for this sample<br> - </td> - </tr> - <tr> - <td style="vertical-align: top;">resources/osgi/*.mf<br> - </td> - <td style="vertical-align: top;">Manifest files for OSGi bundles -for OSGi procedural services implementation<br> - </td> - </tr> - <tr> - <td style="vertical-align: top;">resources/osgi/ds/*.mf</td> - <td style="vertical-align: top;">Manifest files for OSGi bundles -for OSGi declarative services implementation</td> - </tr> - <tr> - <td style="vertical-align: top;">resources/osgi/ds/*.xml</td> - <td style="vertical-align: top;">OSGi Declarative services -component xml files<br> - </td> - </tr> - <tr> - <td style="vertical-align: top;">resources/*.componentType<br> - </td> - <td style="vertical-align: top;">Component types used by OSGi -implementation provider for SCA<br> - </td> - </tr> - <tr> - <td style="vertical-align: top;">resources/supplychain.composite<br> - </td> - <td style="vertical-align: top;">Composite file using OSGi and -Java implementation types<br> - </td> - </tr> - <tr> - <td style="vertical-align: top;">resources/supplychain.ds.composite</td> - <td style="vertical-align: top;">Composite file using OSGi -(declarative services) and Java implementation types <br> - </td> - </tr> - </tbody> -</table> -<br> -</body> -</html> |