Author: lresende
Date: Mon Sep 10 15:01:01 2007
New Revision: 574383
URL: http://svn.apache.org/viewvc?rev=574383&view=rev
Log:
TUSCANY-1621 - Applying patch from Haleh Mahbod
Added:
incubator/tuscany/java/sca/demos/bigbank-calculator/README (with props)
incubator/tuscany/java/sca/demos/bigbank-stockquote/README (with props)
Modified:
incubator/tuscany/java/sca/demos/bigbank-account/README
Modified: incubator/tuscany/java/sca/demos/bigbank-account/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank-account/README?rev=574383&r1=574382&r2=574383&view=diff
==============================================================================
--- incubator/tuscany/java/sca/demos/bigbank-account/README (original)
+++ incubator/tuscany/java/sca/demos/bigbank-account/README Mon Sep 10 15:01:01
2007
@@ -1,42 +1,59 @@
-BigBank
-======
+BigBank Demo
+============
-This application comprises three modules that represent the different aspects
-of a fictitious banking application. To run the sample you need to run each of
-the modules sample servers. This will bring up a Tuscany runtime, load the
-application and make the application's services available. You will need both
-ant and maven installed to run these applications.
-
-Bigbank-calculator
-------------------
-
-A calculator application, based on the calculator-script sample that uses a
-variety of languages to implement a calculator, which the banking application
-uses for simple value multiplication. To run the service do the following:
+This application is made of 3 modules that represent the different aspects
+of a fictitious banking application. Please see bigbank.png in the
bigbank-account directory for a diagram of this demo.
+
+To run the bigbank-account demo you need to first run bigbank-calculator and
bigbank-stockquote composites. This will bring up Tuscany runtime and load the
two applications and make them available as services. Bigbank-account is
dependent on these services.
+
+This demo uses ant. This is just one way of running this demo.
+
+Start Bigbank-calculator composite
+----------------------------------
+
+Bigbank-calculator is a calculator application which handles add, subtract,
multiply and divide operations. Each of these operations is implemented in a
different language, including JavaScript, groovy, Ruby and Python.
+
+To run the bigbank-calculator composite and make it available as a service for
this demo do the following:
cd bigbank-calculator
+ant compile
ant run
-Bigbank-stockquote
-------------------
+.. Leave the server running
+
+Note that 'ant compile' needs to be done the first time you run this demo out
of the binary distribution. No need to do 'ant compile' from there on.
+
+Start Bigbank-stockquote
+------------------------
A very simple web services based stock quote application which returns random
-stock quotes on request.
+stock quotes on request. Please note that the stockquote service is not live
and is implemented instead to allow for this application to always run without
dependency on the availability of a webservice.
cd bigbank-stockquote
+ant compile
ant run
-Bigbank-account
----------------
+.. Leave the server running
+
+Note that 'ant compile' needs to be done the first time you run this demo out
of the binary distribution. No need to do 'ant compile' from there on.
+
+Start Bigbank-account
+---------------------
-The front end of this demo application this module provides a web app for
-retrieving account information. It makes calls out to the stockquote and
-calculator applications to satisfy account requests. See the README in this
-module for further instructions.
+Bigbank-account is entry point to this application running on Tuscany.
Bigbank-account composite calls into bigbank-stockquote and bigbank-calculator
services. Start bigbank-account in the following way:
cd bigbank-account
+ant compile
ant run
+.. Leave the server running
+
+Note that 'ant compile' needs to be done the first time you run this demo out
ofthe binary distribution. No need to do 'ant compile' from there on.
+
+Run the demo
+-------------
+The front end of this demo application is a web app which users Json/RPC to
communicate with the backend for retrieving account information.
+
To try the app out point you browser at:
http://localhost:8080/AccountJSON.html
@@ -45,6 +62,11 @@
a single set of account details exercising services across the three running
SCA applications.
+If you press on getAccountReport, you'll see a response posted, but the detail
of the data will be displayed in the screen where you started bigbank-account.
+Stop the demo
+-------------
+Go to each of the corresponding command line screens and hit 'enter'. This
will stop each of the applications.
+
Added: incubator/tuscany/java/sca/demos/bigbank-calculator/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank-calculator/README?rev=574383&view=auto
==============================================================================
--- incubator/tuscany/java/sca/demos/bigbank-calculator/README (added)
+++ incubator/tuscany/java/sca/demos/bigbank-calculator/README Mon Sep 10
15:01:01 2007
@@ -0,0 +1,3 @@
+bigbank-calculator is part of a larger demo called bigbank-account. Please see
the Readme file under bigbank-account to understand how bigbank-calculator fits
into the overall demo.
+
+
Propchange: incubator/tuscany/java/sca/demos/bigbank-calculator/README
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/demos/bigbank-calculator/README
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/tuscany/java/sca/demos/bigbank-stockquote/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank-stockquote/README?rev=574383&view=auto
==============================================================================
--- incubator/tuscany/java/sca/demos/bigbank-stockquote/README (added)
+++ incubator/tuscany/java/sca/demos/bigbank-stockquote/README Mon Sep 10
15:01:01 2007
@@ -0,0 +1,3 @@
+bigbank-stockquote is a part of a larger demo called bigbank-account. Please
see the Readme file under bigbank-account to understand how bigbank-stockquote
fits into the overall demo.
+
+
Propchange: incubator/tuscany/java/sca/demos/bigbank-stockquote/README
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/demos/bigbank-stockquote/README
------------------------------------------------------------------------------
svn:mime-type = text/plain
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]