Difference between revisions of "StockMarketCaseStudy"

From Scube-casestudies
Jump to: navigation, search
(Created page with "==Description== Spicy Stonehenge is an implementation of Apache Stonehenge [1] built on top of the Turmeric SOA platform [2]. Our goal with this project is to create a use ca...")
 
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
  
Spicy Stonehenge is an implementation of Apache Stonehenge [1] built on top of the Turmeric SOA platform [2]. Our goal with this project is to create a use case that researchers can use to validate their research and compare results by using a common platform.
+
A simulation of the stock market, it provides the possibility to buy and sell shares in a single stock market, with multiple currencies.
 
 
==Quick Overview==
 
 
 
The Stonehenge system is composed of 5 web services, 1 web application and 2 databases.
 
 
 
The services are described as follows:
 
 
 
* Business Service - Provides the business logic required for the web application to operate.
 
* Configuration Service - Acts as a directory where references to all the instances of the web services are kept. Whenever the trader client wants to perform an action, it must first ask the configuration service for an endpoint.
 
* Order Processor Service - Whenever a buy or sell order is made, the business service will interact with the Order Processing Service to make the order final.
 
* Exchange Service - If a purchase is made in a currency different from that of the wallet used, it gets converted by the Exchange Service which uses real currency data from Google.
 
* Quote Service - The quote service provides live quote information from Yahoo Finance. This service can be used directly to query the price of a certain stock symbol. It is also used indirectly whenever an order is placed as the Order Processing Service queries it to find the right price at which to place the order.
 
 
 
In this project, it’s common to see the abbreviations BS and OPS, these refer to the Business and Order Processing services respectively.
 
 
 
The databases run off an Apache Derby server and skeletons for them are also provided as part of this project. This database was not available as part of the original project and was built from scratch.
 
 
 
The web application is built using PHP and most of the code is reused from the original project. Some minor changes have been made to accommodate the new, Turmeric-powered web services.
 
  
 
==Business Goals and Domain Assumptions==
 
==Business Goals and Domain Assumptions==
Line 37: Line 19:
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
! Short Name
 
! Short Name
| Spicy-stonehenge
+
| Stock Trader
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
! Type  
 
! Type  
| Stock Trader.
+
| Business Goals.
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
! Description  
 
! Description  
| To buy and sell stocks
+
| A simulator of stock market.
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
! Rationale  
 
! Rationale  
Line 49: Line 31:
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
! Involved Stakeholders  
 
! Involved Stakeholders  
| <br>
+
| Shareholders, companies
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
! Priority of accomplishment  
 
! Priority of accomplishment  
Line 78: Line 60:
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
! Related To  
 
! Related To  
| Apache Stonehenge
+
| Apache Stonehenge[1]
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
! Involved Actors  
 
! Involved Actors  
Line 84: Line 66:
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
! Detailed Operational Description  
 
! Detailed Operational Description  
| see the quick overview.
+
|    
 +
* Purchase and sale of stocks
 +
* Price information about stock symbols
 +
* Wallets in different currencies
 +
* Management of service endpoints
 +
* User registration
 
|- style="background:white; color:black"
 
|- style="background:white; color:black"
 
! Problems and Challenges  
 
! Problems and Challenges  
Line 94: Line 81:
 
|}
 
|}
  
== Bibliography ==
+
== References ==
 
#<div id="1"></div>  http://incubator.apache.org/stonehenge/.
 
#<div id="1"></div>  http://incubator.apache.org/stonehenge/.
#<div id="2"></div>  https://www.ebayopensource.org/index.php/Turmeric/HomePage.
 
#<div id="3"></div> https://www.ebayopensource.org/forum/.
 
#<div id="4"></div> http://ant.apache.org/.
 
#<div id="5"></div> http://wso2.com/products/web-services-framework/php/.
 

Latest revision as of 15:19, 31 May 2012

Description

A simulation of the stock market, it provides the possibility to buy and sell shares in a single stock market, with multiple currencies.

Business Goals and Domain Assumptions

Business Goals and the Domain Assumptions for the current case study.

Business Goals

Table BG1. Business Goal ID
Field Description
UniqueID ID
Short Name Stock Trader
Type Business Goals.
Description A simulator of stock market.
Rationale
Involved Stakeholders Shareholders, companies
Priority of accomplishment

Domain Analysis

Strategic Dependency Model and Context Diagram

Domain Model

Scenarios

The scenarios


Table S1: Scenario ID
Field Description
UniqueID ID
Short Name Spicy-stonehenge
Related To Apache Stonehenge[1]
Involved Actors
Detailed Operational Description
  • Purchase and sale of stocks
  • Price information about stock symbols
  • Wallets in different currencies
  • Management of service endpoints
  • User registration
Problems and Challenges


Additional Material

References

  1. http://incubator.apache.org/stonehenge/.