summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-0.91/demos/bigbank-account/README
blob: ee398e7a4cac1c184b3a5efd1add5098758a7935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
BigBank
======

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:

cd bigbank-calculator
ant run

Bigbank-stockquote

A very simple web services based stock quote application which returns random 
stock quotes on request.

cd bigbank-stockquote
ant run

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.

cd bigbank-account
mvn -f pom-runapp.xml

Maven is used in this last step as there are unresolved issues with running
this app from the provided ant file. 

To try the app out point your browser at:

http://localhost:8082/WebResourceComponent/AccountJSON.html

This should display an interface with a single button that goes and retrieves 
a single set of account details exercising services across the three running 
SCA applications.