diff options
Diffstat (limited to 'sandbox/travelsample/launchers')
3 files changed, 20 insertions, 20 deletions
diff --git a/sandbox/travelsample/launchers/fullapp-launcher/src/main/java/scatours/LaunchFullAppNode.java b/sandbox/travelsample/launchers/fullapp-launcher/src/main/java/scatours/LaunchFullAppNode.java index d125eadac9..51c373ae82 100644 --- a/sandbox/travelsample/launchers/fullapp-launcher/src/main/java/scatours/LaunchFullAppNode.java +++ b/sandbox/travelsample/launchers/fullapp-launcher/src/main/java/scatours/LaunchFullAppNode.java @@ -32,31 +32,33 @@ public class LaunchFullAppNode { // OK for development but you must launch the node from this module public static void launchFromFileSystemDir(){ - SCANode node = null; try { - node = SCANodeFactory.newInstance().createSCANode("scatours.composite", - new SCAContribution("common", "../../contributions/common-contribution/target/classes"), - new SCAContribution("currency", "../../contributions/currency-contribution/target/classes"), - new SCAContribution("hotel", "../../contributions/hotel-contribution/target/classes"), - new SCAContribution("flight", "../../contributions/flight-contribution/target/classes"), - new SCAContribution("car", "../../contributions/car-contribution/target/classes"), - new SCAContribution("trip", "../../contributions/trip-contribution/target/classes"), - new SCAContribution("tripbooking", "../../contributions/tripbooking-contribution/target/classes"), - new SCAContribution("travelcatalog", "../../contributions/travelcatalog-contribution/target/classes"), - new SCAContribution("payment", "../../contributions/payment-java-contribution/target/classes"), - new SCAContribution("creditcard", "../../contributions/creditcard-payment-jaxb-contribution/target/classes"), - new SCAContribution("shoppingcart", "../../contributions/shoppingcart-contribution/target/classes"), - new SCAContribution("scatours", "../../contributions/scatours-contribution/target/classes"), - new SCAContribution("ui", "../../contributions/fullapp-ui-contribution/target/classes")); - node.start(); + SCANode node1 = SCANodeFactory.newInstance().createSCANode(null, + new SCAContribution("common", "../../contributions/common-contribution/target/classes"), + new SCAContribution("currency", "../../contributions/currency-contribution/target/classes"), + new SCAContribution("hotel", "../../contributions/hotel-contribution/target/classes"), + new SCAContribution("flight", "../../contributions/flight-contribution/target/classes"), + new SCAContribution("car", "../../contributions/car-contribution/target/classes"), + new SCAContribution("trip", "../../contributions/trip-contribution/target/classes"), + new SCAContribution("tripbooking", "../../contributions/tripbooking-contribution/target/classes"), + new SCAContribution("travelcatalog", "../../contributions/travelcatalog-contribution/target/classes"), + new SCAContribution("payment", "../../contributions/payment-java-contribution/target/classes"), + new SCAContribution("creditcard", "../../contributions/creditcard-payment-jaxb-contribution/target/classes"), + new SCAContribution("shoppingcart", "../../contributions/shoppingcart-contribution/target/classes"), + new SCAContribution("scatours", "../../contributions/scatours-contribution/target/classes"), + new SCAContribution("ui", "../../contributions/fullapp-ui-contribution/target/classes")); + + node1.start(); + System.out.println("Point your browser at - http://L3AW203:8080/scatours/ "); System.out.println("Node started - Press enter to shutdown."); + try { System.in.read(); } catch (IOException e) {} - node.stop(); + node1.stop(); } catch (Exception ex) { System.out.println(ex.toString()); diff --git a/sandbox/travelsample/launchers/introducing-launcher/src/main/java/scatours/IntroducingLauncher.java b/sandbox/travelsample/launchers/introducing-launcher/src/main/java/scatours/IntroducingLauncher.java index 47796a16da..aea94317c8 100644 --- a/sandbox/travelsample/launchers/introducing-launcher/src/main/java/scatours/IntroducingLauncher.java +++ b/sandbox/travelsample/launchers/introducing-launcher/src/main/java/scatours/IntroducingLauncher.java @@ -19,9 +19,6 @@ package scatours;
-import java.io.IOException;
-import java.math.BigDecimal;
-
import org.apache.tuscany.sca.node.SCAClient;
import org.apache.tuscany.sca.node.SCAContribution;
import org.apache.tuscany.sca.node.SCANode;
diff --git a/sandbox/travelsample/launchers/pom.xml b/sandbox/travelsample/launchers/pom.xml index 9fd73338c1..b7c6632864 100644 --- a/sandbox/travelsample/launchers/pom.xml +++ b/sandbox/travelsample/launchers/pom.xml @@ -39,6 +39,7 @@ <module>currency-converter-corba-launcher</module> <module>currency-converter-rmi-launcher</module> <module>currency-converter-ws-launcher</module> + <module>databinding-launcher</module> <module>interaction-launcher</module> <module>introducing-launcher</module> <module>jumpstart-launcher</module> |