Author: antelder
Date: Mon Mar 13 02:30:42 2006
New Revision: 385497

URL: http://svn.apache.org/viewcvs?rev=385497&view=rev
Log:
add BigBank JavaScript Sample

Added:
    incubator/tuscany/java/samples/bigbankJS/
    incubator/tuscany/java/samples/bigbankJS/accountJS/
    incubator/tuscany/java/samples/bigbankJS/accountJS/pom.xml
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/AccountDataService.java
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/CheckingAccount.java
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/SavingsAccount.java
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/StockAccount.java
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteService.java
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/account/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/account/AccountServiceImpl.componentType
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/account/AccountServiceImpl.js
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteServiceImpl.componentType
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteServiceImpl.js
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/sca.module
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/sca.subsystem
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/wsdl/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/wsdl/AccountService.wsdl
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/wsdl/StockQuoteWebService.wsdl
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/webapp/
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/webapp/WEB-INF/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/webapp/WEB-INF/web.xml
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/
    incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/apache/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/apache/tuscany/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/apache/tuscany/samples/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/apache/tuscany/samples/bigbankjs/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/apache/tuscany/samples/bigbankjs/account/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/apache/tuscany/samples/bigbankjs/account/client/
    
incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/apache/tuscany/samples/bigbankjs/account/client/AccountClient.java
    incubator/tuscany/java/samples/bigbankJS/pom.xml

Added: incubator/tuscany/java/samples/bigbankJS/accountJS/pom.xml
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/pom.xml?rev=385497&view=auto
==============================================================================
--- incubator/tuscany/java/samples/bigbankJS/accountJS/pom.xml (added)
+++ incubator/tuscany/java/samples/bigbankJS/accountJS/pom.xml Mon Mar 13 
02:30:42 2006
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, 
as applicable.
+ *
+ *  Licensed 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.
+ -->
+<project>
+    <parent>
+        <groupId>org.apache.tuscany.samples.bigbankjs</groupId>
+        <artifactId>bigbank-JS-samples</artifactId>
+        <version>SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>accountJS</artifactId>
+    <packaging>war</packaging>
+    <name>Tuscany sample BigBank JavaScript account</name>
+    <description>BigBank JavaScript sample - account module</description>
+    <version>SNAPSHOT</version>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.tuscany</groupId>
+            <artifactId>tuscany-container-js</artifactId>
+            <version>${pom.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.tuscany</groupId>
+            <artifactId>tuscany-binding-axis2</artifactId>
+            <version>${pom.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>rhino</groupId>
+            <artifactId>js</artifactId>
+            <version>1.6R2</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>3.8.1</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.tuscany</groupId>
+                <artifactId>tuscany-sdo-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <configuration>
+                            
<schemaFile>${basedir}/src/main/resources/wsdl/AccountService.wsdl</schemaFile>
+                            <noNotification>true</noNotification>
+                            <noContainer>true</noContainer>
+                            <noInterfaces>true</noInterfaces>
+                            <noUnsettable>true</noUnsettable>
+                        </configuration>
+                        <goals>
+                            <goal>generate</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.tuscany</groupId>
+                <artifactId>tuscany-sca-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <configuration>
+                            
<wsdlFile>${basedir}/src/main/resources/wsdl/AccountService.wsdl</wsdlFile>
+                            
<javaPackage>org.apache.tuscany.samples.bigbankjs.account.services.account</javaPackage>
+                        </configuration>
+                        <goals>
+                            <goal>generate</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    
+</project>

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/AccountDataService.java
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/AccountDataService.java?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/AccountDataService.java
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/AccountDataService.java
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,30 @@
+/**
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed 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.
+ */
+package org.apache.tuscany.samples.bigbankjs.account.services.accountdata;
+
+import 
org.apache.tuscany.samples.bigbankjs.account.services.accountdata.CheckingAccount;
+import 
org.apache.tuscany.samples.bigbankjs.account.services.accountdata.SavingsAccount;
+import 
org.apache.tuscany.samples.bigbankjs.account.services.accountdata.StockAccount;
+
+public interface AccountDataService {
+
+    CheckingAccount getCheckingAccount(String customerID);
+
+    SavingsAccount getSavingsAccount(String customerID);
+
+    StockAccount getStockAccount(String customerID);
+}

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/CheckingAccount.java
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/CheckingAccount.java?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/CheckingAccount.java
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/CheckingAccount.java
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,39 @@
+/**
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed 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.
+ */
+package org.apache.tuscany.samples.bigbankjs.account.services.accountdata;
+
+public class CheckingAccount {
+
+    private String accountNumber;
+    private float balance;
+
+    public String getAccountNumber() {
+        return accountNumber;
+    }
+
+    public void setAccountNumber(String accountNumber) {
+        this.accountNumber = accountNumber;
+    }
+
+    public float getBalance() {
+        return balance;
+    }
+
+    public void setBalance(float balance) {
+        this.balance = balance;
+    }
+}

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/SavingsAccount.java
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/SavingsAccount.java?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/SavingsAccount.java
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/SavingsAccount.java
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,39 @@
+/**
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed 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.
+ */
+package org.apache.tuscany.samples.bigbankjs.account.services.accountdata;
+
+public class SavingsAccount {
+
+    private String accountNumber;
+    private float balance;
+
+    public String getAccountNumber() {
+        return accountNumber;
+    }
+
+    public void setAccountNumber(String accountNumber) {
+        this.accountNumber = accountNumber;
+    }
+
+    public float getBalance() {
+        return balance;
+    }
+
+    public void setBalance(float balance) {
+        this.balance = balance;
+    }
+}

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/StockAccount.java
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/StockAccount.java?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/StockAccount.java
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/accountdata/StockAccount.java
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,48 @@
+/**
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed 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.
+ */
+package org.apache.tuscany.samples.bigbankjs.account.services.accountdata;
+
+public class StockAccount {
+
+    private String accountNumber;
+    private String symbol;
+    private int quantity;
+
+    public String getAccountNumber() {
+        return accountNumber;
+    }
+
+    public void setAccountNumber(String accountNumber) {
+        this.accountNumber = accountNumber;
+    }
+
+    public int getQuantity() {
+        return quantity;
+    }
+
+    public void setQuantity(int quantity) {
+        this.quantity = quantity;
+    }
+
+    public String getSymbol() {
+        return symbol;
+    }
+
+    public void setSymbol(String symbol) {
+        this.symbol = symbol;
+    }
+}

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteService.java
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteService.java?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteService.java
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/java/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteService.java
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,27 @@
+/**
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed 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.
+ */
+package org.apache.tuscany.samples.bigbankjs.account.services.stockquote;
+
+import org.osoa.sca.annotations.Remotable;
+
[EMAIL PROTECTED]
+public interface StockQuoteService {
+
+    public float getQuote(String symbol);
+}
+
+ 
\ No newline at end of file

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/account/AccountServiceImpl.componentType
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/account/AccountServiceImpl.componentType?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/account/AccountServiceImpl.componentType
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/account/AccountServiceImpl.componentType
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ASCII"?>
+
+<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+
+    <service name="AccountService">
+        <interface.java 
interface="org.apache.tuscany.samples.bigbankjs.account.services.account.AccountService"/>
+    </service>
+
+    <reference name="accountDataService">
+        <interface.java 
interface="org.apache.tuscany.samples.bigbankjs.account.services.accountdata.AccountDataService"/>
+    </reference>
+    
+    <reference name="stockQuoteService">
+        <interface.java 
interface="org.apache.tuscany.samples.bigbankjs.account.services.stockquote.StockQuoteService"/>
+    </reference>
+
+    <property name="currency" type="xsd:string" default="USD"/>
+
+</componentType>
\ No newline at end of file

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/account/AccountServiceImpl.js
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/account/AccountServiceImpl.js?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/account/AccountServiceImpl.js
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/account/AccountServiceImpl.js
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,62 @@
+/**
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed 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.
+ */
+
+importPackage(Packages.org.apache.tuscany.samples.bigbankjs.account);
+
+function getAccountReport(customerID) {
+
+    var accountFactory = new AccountFactory();
+
+    var accountReport = accountFactory.createAccountReport();
+    var accountSummaries = accountReport.getAccountSummaries();
+
+    var checkingAccount = accountDataService.getCheckingAccount(customerID);
+    var checkingAccountSummary = accountFactory.createAccountSummary();
+    
checkingAccountSummary.setAccountNumber(checkingAccount.getAccountNumber());
+    checkingAccountSummary.setAccountType("checking");
+    
checkingAccountSummary.setBalance(fromUSDollarToCurrency(checkingAccount.getBalance()));
+    accountSummaries.add(checkingAccountSummary);
+
+    var savingsAccount = accountDataService.getSavingsAccount(customerID);
+    var savingsAccountSummary = accountFactory.createAccountSummary();
+    savingsAccountSummary.setAccountNumber(savingsAccount.getAccountNumber());
+    savingsAccountSummary.setAccountType("savings");
+    
savingsAccountSummary.setBalance(fromUSDollarToCurrency(savingsAccount.getBalance()));
+    accountSummaries.add(savingsAccountSummary);
+
+    var stockAccount = accountDataService.getStockAccount(customerID);
+    var stockAccountSummary = accountFactory.createAccountSummary();
+    stockAccountSummary.setAccountNumber(stockAccount.getAccountNumber());
+    stockAccountSummary.setAccountType("stock");
+
+    var balance = stockQuoteService.getQuote(stockAccount.getSymbol()) * 
stockAccount.getQuantity();
+    stockAccountSummary.setBalance(fromUSDollarToCurrency(balance));
+    accountSummaries.add(stockAccountSummary);
+
+    return accountReport;
+}
+
+function fromUSDollarToCurrency(value) {
+   if (currency.equals("USD")) {
+       return value;
+   } else if (currency.equals("EURO")) {
+       return value * 0.8;
+   } else {
+       return 0.0;
+   }
+}
+

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteServiceImpl.componentType
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteServiceImpl.componentType?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteServiceImpl.componentType
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteServiceImpl.componentType
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="ASCII"?>
+
+<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+
+    <service name="AccountService">
+        <interface.java 
interface="org.apache.tuscany.samples.bigbankjs.account.services.stockquote.StockQuoteService"/>
+    </service>
+
+</componentType>
\ No newline at end of file

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteServiceImpl.js
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteServiceImpl.js?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteServiceImpl.js
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteServiceImpl.js
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,20 @@
+/**
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed 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.
+ */
+
+function getQuote(symbol) {
+   return 83.00;
+}

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/sca.module
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/sca.module?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/sca.module
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/sca.module
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+  Copyright (c) 2005 The Apache Software Foundation or its licensors, as 
applicable.
+
+  Licensed 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.
+ -->
+<module xmlns="http://www.osoa.org/xmlns/sca/0.9"; 
xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9";
+        xmlns:js="http://org.apache.tuscany/xmlns/js/0.9";
+
+        name="tuscany.samples.bigbankjs.account">
+
+    <entryPoint name="AccountService">
+        <interface.java 
interface="org.apache.tuscany.samples.bigbankjs.account.services.account.AccountService"/>
+        <binding.ws port="http://www.bigbank.com/Account/#AccountServiceSOAP"/>
+        <reference>AccountServiceComponent/AccountService</reference>
+    </entryPoint>
+
+    <component name="AccountServiceComponent">
+        <js:implementation.js 
scriptFile="org/apache/tuscany/samples/bigbankjs/account/services/account/AccountServiceImpl.js"/>
+        <properties>
+            <v:currency>EURO</v:currency>
+        </properties>
+        <references>
+            
<v:accountDataService>AccountDataServiceComponent</v:accountDataService>
+            <v:stockQuoteService>StockQuoteService</v:stockQuoteService>
+        </references>
+    </component>
+
+    <component name="AccountDataServiceComponent">
+        <js:implementation.js 
scriptFile="org/apache/tuscany/samples/bigbankjs/account/services/accountdata/AccountDataServiceImpl.js"/>
+    </component>
+
+    <component name="StockQuoteService">
+        <js:implementation.js 
scriptFile="org/apache/tuscany/samples/bigbankjs/account/services/stockquote/StockQuoteServiceImpl.js"/>
+    </component>
+
+    <!--
+        <externalService name="StockQuoteService">
+            <interface.java 
interface="org.apache.tuscany.samples.bigbankjs.account.services.stockquote"/>
+            <binding.ws 
port="http://www.quickstockquote.com/StockQuoteService#StockQuoteServiceSOAP"/>
+        </externalService>
+    -->
+
+    <import.wsdl
+               location="wsdl/AccountService.wsdl"
+               namespace="http://www.bigbank.com/Account/"/>
+    <import.wsdl
+               location="wsdl/StockQuoteWebService.wsdl"
+               namespace="http://webservice.stockquote"/>
+               
+</module>
+       

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/sca.subsystem
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/sca.subsystem?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/sca.subsystem
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/sca.subsystem
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+  Copyright (c) 2005 The Apache Software Foundation or its licensors, as 
applicable.
+
+  Licensed 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.
+ -->
+<subsystem     xmlns="http://www.osoa.org/xmlns/sca/0.9";
+
+       name="tuscany.runtime.bigbankjs.account">
+
+       <moduleComponent name="tuscany-samples-bigbankjs-account" 
module="tuscany.samples.bigbankjs.account"/>
+
+</subsystem>
+       

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/wsdl/AccountService.wsdl
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/wsdl/AccountService.wsdl?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/wsdl/AccountService.wsdl
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/wsdl/AccountService.wsdl
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright (c) 2005 The Apache Software Foundation or its licensors, as 
applicable.
+
+  Licensed 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.
+ -->
+<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
+                  xmlns:tns="http://www.bigbank.com/Account/";
+                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
+                  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+                  xmlns:account="http://www.bigbank.com/Account/";
+                  targetNamespace="http://www.bigbank.com/Account/";
+                  name="AccountService">
+
+    <wsdl:types>
+        <xsd:schema targetNamespace="http://www.bigbank.com/Account/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:account="http://www.bigbank.com/Account/";
+               xmlns:sdojava="commonj.sdo/java"
+               sdojava:package="org.apache.tuscany.samples.bigbankjs.account">
+
+            <xsd:element name="getAccountReport">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="customerID" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+            <xsd:element name="getAccountReportResponse">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="accountReport" 
type="account:AccountReport"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+
+            <xsd:complexType name="AccountReport">
+                <xsd:sequence>
+                    <xsd:element name="accountSummaries" 
type="account:AccountSummary" maxOccurs="unbounded"/>
+                </xsd:sequence>
+            </xsd:complexType>
+            <xsd:complexType name="AccountSummary">
+                <xsd:attribute name="accountNumber" type="xsd:string"/>
+                <xsd:attribute name="accountType" type="xsd:string"/>
+                <xsd:attribute name="balance" type="xsd:float"/>
+            </xsd:complexType>
+
+        </xsd:schema>
+    </wsdl:types>
+    <wsdl:message name="getAccountReportRequest">
+        <wsdl:part element="account:getAccountReport" 
name="getAccountReportRequest"/>
+    </wsdl:message>
+    <wsdl:message name="getAccountReportResponse">
+        <wsdl:part element="account:getAccountReportResponse" 
name="getAccountReportResponse"/>
+    </wsdl:message>
+    <wsdl:portType name="AccountService">
+        <wsdl:operation name="getAccountReport">
+            <wsdl:input message="tns:getAccountReportRequest"/>
+            <wsdl:output message="tns:getAccountReportResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="AccountServiceSOAP" type="tns:AccountService">
+        <soap:binding style="document"
+                      transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="getAccountReport">
+            <soap:operation
+                    
soapAction="http://www.bigbank.com/Account/getAccountReport"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="AccountService">
+        <wsdl:port binding="tns:AccountServiceSOAP"
+                   name="AccountServiceSOAP">
+            <soap:address 
location="http://localhost:8080/accountJS-SNAPSHOT/services/AccountService"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/wsdl/StockQuoteWebService.wsdl
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/wsdl/StockQuoteWebService.wsdl?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/wsdl/StockQuoteWebService.wsdl
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/resources/wsdl/StockQuoteWebService.wsdl
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright (c) 2005 The Apache Software Foundation or its licensors, as 
applicable.
+
+  Licensed 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.
+ -->
+<wsdl:definitions targetNamespace="http://webservice.stockquote"; 
xmlns:apachesoap="http://xml.apache.org/xml-soap"; 
xmlns:impl="http://webservice.stockquote"; 
xmlns:intf="http://webservice.stockquote"; xmlns:tns1="http://stockquote"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; name="stockquote">
+    <!--WSDL created by Apache Axis version: 1.2.1
+Built on Jun 14, 2005 (09:15:57 EDT)-->
+    <wsdl:types>
+        <schema elementFormDefault="qualified" 
targetNamespace="http://stockquote"; xmlns="http://www.w3.org/2001/XMLSchema";>
+            <complexType name="GetQuoteRequest">
+                <sequence>
+                    <element name="symbol" nillable="true" type="xsd:string"/>
+                </sequence>
+            </complexType>
+            <complexType name="GetQuoteResponse">
+                <sequence>
+                    <element name="price" type="xsd:float"/>
+                </sequence>
+            </complexType>
+        </schema>
+        <schema elementFormDefault="qualified" 
targetNamespace="http://webservice.stockquote"; 
xmlns="http://www.w3.org/2001/XMLSchema";>
+            <import namespace="http://stockquote"/>
+            <element name="request" type="tns1:GetQuoteRequest"/>
+            <element name="getQuoteReturn" type="tns1:GetQuoteResponse"/>
+        </schema>
+    </wsdl:types>
+
+    <wsdl:message name="getQuoteResponse">
+
+        <wsdl:part element="impl:getQuoteReturn" name="getQuoteReturn"/>
+
+    </wsdl:message>
+
+    <wsdl:message name="getQuoteRequest">
+
+        <wsdl:part element="impl:request" name="request"/>
+
+    </wsdl:message>
+
+    <wsdl:portType name="StockQuoteWebService">
+
+        <wsdl:operation name="getQuote" parameterOrder="request">
+
+            <wsdl:input message="impl:getQuoteRequest" name="getQuoteRequest"/>
+
+            <wsdl:output message="impl:getQuoteResponse" 
name="getQuoteResponse"/>
+
+        </wsdl:operation>
+
+    </wsdl:portType>
+
+    <wsdl:binding name="StockQuoteWebServiceSoapBinding" 
type="impl:StockQuoteWebService">
+
+        <wsdlsoap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+
+        <wsdl:operation name="getQuote">
+
+            <wsdlsoap:operation soapAction=""/>
+
+            <wsdl:input name="getQuoteRequest">
+
+                <wsdlsoap:body use="literal"/>
+
+            </wsdl:input>
+
+            <wsdl:output name="getQuoteResponse">
+
+                <wsdlsoap:body use="literal"/>
+
+            </wsdl:output>
+
+        </wsdl:operation>
+
+    </wsdl:binding>
+
+    <wsdl:service name="StockQuoteWebServiceService">
+
+        <wsdl:port binding="impl:StockQuoteWebServiceSoapBinding" 
name="StockQuoteWebService">
+
+            <wsdlsoap:address 
location="http://localhost:8123/StockQuoteWebService/services/StockQuoteWebService"/>
+
+        </wsdl:port>
+
+    </wsdl:service>
+
+</wsdl:definitions>

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/webapp/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/webapp/WEB-INF/web.xml?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/webapp/WEB-INF/web.xml
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/main/webapp/WEB-INF/web.xml
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright (c) 2005 The Apache Software Foundation or its licensors, as 
applicable.
+
+  Licensed 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.
+ -->
+<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
+
+    <display-name>Tuscany Bigbank Account sample</display-name>
+
+</web-app>

Added: 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/apache/tuscany/samples/bigbankjs/account/client/AccountClient.java
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/apache/tuscany/samples/bigbankjs/account/client/AccountClient.java?rev=385497&view=auto
==============================================================================
--- 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/apache/tuscany/samples/bigbankjs/account/client/AccountClient.java
 (added)
+++ 
incubator/tuscany/java/samples/bigbankJS/accountJS/src/test/java/org/apache/tuscany/samples/bigbankjs/account/client/AccountClient.java
 Mon Mar 13 02:30:42 2006
@@ -0,0 +1,56 @@
+/**
+ *
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+ *
+ *  Licensed 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.
+ */
+package org.apache.tuscany.samples.bigbankjs.account.client;
+
+import java.util.Iterator;
+
+import org.apache.tuscany.core.client.TuscanyRuntime;
+import org.apache.tuscany.samples.bigbankjs.account.AccountReport;
+import org.apache.tuscany.samples.bigbankjs.account.AccountSummary;
+import 
org.apache.tuscany.samples.bigbankjs.account.services.account.AccountService;
+import org.osoa.sca.CurrentModuleContext;
+import org.osoa.sca.ModuleContext;
+import org.osoa.sca.SCA;
+
+public class AccountClient extends SCA {
+
+    public void start() {
+    }
+
+    public void stop() {
+    }
+
+    public static void main(String[] args) throws Exception {
+        TuscanyRuntime tuscany = new 
TuscanyRuntime("bigbank.account.testclient", null);
+        tuscany.start();
+        ModuleContext moduleContext = CurrentModuleContext.getContext();
+
+        AccountService accountService = (AccountService) 
moduleContext.locateService("AccountServiceComponent");
+
+        AccountReport accountReport = accountService.getAccountReport("12345");
+
+        for (Iterator i = accountReport.getAccountSummaries().iterator(); 
i.hasNext();) {
+            AccountSummary accountSummary = (AccountSummary) i.next();
+
+            System.out.println(accountSummary.getAccountNumber());
+            System.out.println(accountSummary.getAccountType());
+            System.out.println(accountSummary.getBalance());
+        }
+
+    }
+
+}

Added: incubator/tuscany/java/samples/bigbankJS/pom.xml
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbankJS/pom.xml?rev=385497&view=auto
==============================================================================
--- incubator/tuscany/java/samples/bigbankJS/pom.xml (added)
+++ incubator/tuscany/java/samples/bigbankJS/pom.xml Mon Mar 13 02:30:42 2006
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, 
as applicable.
+ *
+ *  Licensed 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.
+ -->
+<project>
+    <parent>
+        <groupId>org.apache.tuscany.samples</groupId>
+        <artifactId>tuscany-samples</artifactId>
+        <version>SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.tuscany.samples.bigbankjs</groupId>
+    <artifactId>bigbank-JS-samples</artifactId>
+    <packaging>pom</packaging>
+    <name>Tuscany BigBank JavaScript Samples</name>
+    <version>SNAPSHOT</version>
+
+    <modules>
+        <module>accountJS</module>
+<!--
+        <module>customersJS</module>
+        <module>webclient</module>
+ -->
+    </modules>
+</project>


Reply via email to