incubator-stonehenge-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r725625 - in /incubator/stonehenge/contrib/stocktrader: java/documents/ java/documents/images/ perl/documents/ php/documents/ php/documents/images/ python/documents/ ruby/documents/ ruby/documents/images/
Date Thu, 11 Dec 2008 08:55:29 GMT
Author: shankar
Date: Thu Dec 11 00:55:28 2008
New Revision: 725625

URL: http://svn.apache.org/viewvc?rev=725625&view=rev
Log:
documents are added. 

Added:
    incubator/stonehenge/contrib/stocktrader/java/documents/
    incubator/stonehenge/contrib/stocktrader/java/documents/ConfigUIStockTraderInstallationInXP.html
    incubator/stonehenge/contrib/stocktrader/java/documents/JavaStockTraderInstallationInXP.html
    incubator/stonehenge/contrib/stocktrader/java/documents/images/
    incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader1.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader2.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader3.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader4.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader5.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/java/documents/images/WSASKeyStore.JPG   (with props)
    incubator/stonehenge/contrib/stocktrader/perl/documents/
    incubator/stonehenge/contrib/stocktrader/perl/documents/PerlStockTraderInstallationInXP.html
    incubator/stonehenge/contrib/stocktrader/php/documents/
    incubator/stonehenge/contrib/stocktrader/php/documents/PHPStockTraderInstallationInXP.html
    incubator/stonehenge/contrib/stocktrader/php/documents/images/
    incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader1.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader2.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader3.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader4.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader5.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/php/documents/images/WSASKeyStore.JPG   (with props)
    incubator/stonehenge/contrib/stocktrader/python/documents/
    incubator/stonehenge/contrib/stocktrader/python/documents/PythonStockTraderInstallationInXP.html
    incubator/stonehenge/contrib/stocktrader/ruby/documents/
    incubator/stonehenge/contrib/stocktrader/ruby/documents/RubyStockTraderInstallationInXP.html
    incubator/stonehenge/contrib/stocktrader/ruby/documents/images/
    incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader1.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader2.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader3.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader4.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader5.jpg   (with props)
    incubator/stonehenge/contrib/stocktrader/ruby/documents/images/WSASKeyStore.JPG   (with props)

Added: incubator/stonehenge/contrib/stocktrader/java/documents/ConfigUIStockTraderInstallationInXP.html
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/java/documents/ConfigUIStockTraderInstallationInXP.html?rev=725625&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/java/documents/ConfigUIStockTraderInstallationInXP.html (added)
+++ incubator/stonehenge/contrib/stocktrader/java/documents/ConfigUIStockTraderInstallationInXP.html Thu Dec 11 00:55:28 2008
@@ -0,0 +1,81 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head>
+<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>WSO2 StockTrader, Configuration Service User Interface Installation Guide</title>
+
+<link href="../styles/interop-docs-header.css" rel="stylesheet">
+<meta name="GENERATOR" content="OpenOffice.org 2.2 (Win32)">
+<meta name="CREATED" content="20080512;12211400">
+<meta name="CHANGED" content="20080602;18141939">
+<style type="text/css">
+<!--
+@page { size: 8.5in 11in; margin: 0.79in }
+P { margin-bottom: 0.08in }
+-->
+</style></head>
+<body style="direction: ltr;" lang="en-US">
+<div id="header">
+</div>
+<div id="main-content">
+<div style="text-align: center;"></div>
+<h1 style="text-align: center;"><font style="font-size: 16pt;" size="4"><b>Stonehenge StockTrader, Configuration Service User Interface Installation
+Guide</b></font></h1>
+<br>
+<a href="http://wso2.org/interop/stocktrader">WSO2
+StockTrader</a> is an online stock trading sample application
+with functionality equivalent to the <a href="http://msdn.microsoft.com/stocktrader">Microsoft .NET
+Stock Trader</a> sample benchmark application and <a href="http://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=trade6">IBM
+WebSphere's Trade 6.1</a> sample application. WSO2 StockTrader is
+powered by <a href="http://wso2.org/projects/wsf/php">WSO2
+WSF/PHP</a> , <a href="http://wso2.org/projects/wsf/ruby">WSO2
+WSF/Ruby</a>, <a href="http://wso2.org/projects/wsf/perl">WSO2
+WSF/Perl</a>, <a href="http://wso2.org/projects/wsf/python">WSO2
+WSF/Python</a>, <a href="http://wso2.org/projects/wsf/spring">WSO2
+WSF/Spring</a> and <a href="http://wso2.org/projects/wsas/java">WSO2
+WSAS</a>
+and implements the application in PHP, Ruby, Perl, Python, Spring and
+Java. It serves to
+illustrate interoperability between .NET, PHP, Ruby, Perl, Python,
+Spring and Java in deploying
+high-performance, scalable service oriented applications.
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Prerequisite</b></u></font></p>
+<ol>
+<li>
+<p style="margin-bottom: 0in;"><b>JDK 1.5</b></p>
+You can download JDK 1.5 from <a href="http://java.sun.com/javase/downloads/index_jdk5.jsp">here</a>.
+Set JAVA_HOME environment variable to the path where JDK is installed.</li>
+<li>
+<p style="margin-bottom: 0in;"><b>JCE</b></p>
+<a href="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jce_policy-1.5.0-oth-JPR@CDS-CDS_Developer">Download</a>
+and install Java Cryptography Extension (JCE) Unlimited Strength
+Jurisdiction Policy Files.&nbsp;</li>
+<li>
+<p style="margin-bottom: 0in;"><b>WSO2 Mashup
+Server</b></p>
+You can download WSO2 Mashup Server from <a href="http://wso2.org/downloads/mashup/">here</a>. The
+version should be 1.5 or more.
+</li>
+<li>
+<p style="margin-bottom: 0in;"><b>.NET Stock
+Trader 2.0</b></p>
+You can download it
+from <a href="http://msdn.microsoft.com/stocktrader">here</a>.</li></ol><p style="margin-bottom: 0in;"><font size="4"><u><b>Installing&nbsp;Configuration Service User Interface</b></u></font></p>
+Download Configuration Service
+User Interface from <a href="http://wso2.org/interop/stocktrader">here</a>
+and unzip it. Copy the files inside "UI" folder to &lt;Mashup Server Install
+Directory&gt;\Scripts\{User} folder ({user} has to be modified to some
+valid username in mashup server). Edit stub.js file under the
+"StockTraderConfig.resources" folder and give the configuration service
+end point. Then start Mashup server.<p style="margin-bottom: 0in;"><font size="4"><u><b>Endpoint
+Addresses</b></u></font></p>
+These are the default endpoint addresses
+<ol>
+<li><b>Configuration Service User Interface</b><br>http://localhost:7762/services/{user}/StockTraderConfig</li></ol>
+<font size="3"><span style=""><br>
+</span></font>
+</div>
+<!--Google Analytics Tracking code-->
+<script type="text/javascript" src="https://ssl.google-analytics.com/urchin.js">
+</script>
+<script type="text/javascript">
+_uacct = "UA-103065-6"; _udn="wso2.org"; urchinTracker();</script><!--End of Google Analytics Tracking code-->
+</body></html>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/java/documents/JavaStockTraderInstallationInXP.html
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/java/documents/JavaStockTraderInstallationInXP.html?rev=725625&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/java/documents/JavaStockTraderInstallationInXP.html (added)
+++ incubator/stonehenge/contrib/stocktrader/java/documents/JavaStockTraderInstallationInXP.html Thu Dec 11 00:55:28 2008
@@ -0,0 +1,162 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head>
+<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>WSO2 StockTrader, Java Installation Guide</title>
+
+<link href="../styles/interop-docs-header.css" rel="stylesheet">
+<meta name="GENERATOR" content="OpenOffice.org 2.2 (Win32)">
+<meta name="CREATED" content="20080512;12211400">
+<meta name="CHANGED" content="20080602;18141939">
+<style type="text/css">
+<!--
+@page { size: 8.5in 11in; margin: 0.79in }
+P { margin-bottom: 0.08in }
+-->
+</style></head>
+<body style="direction: ltr;" lang="en-US">
+<div id="header">
+</div>
+<div id="main-content"><div style="text-align: center;">
+</div><h1 style="text-align: center;"><font style="font-size: 16pt;" size="4"><b>Stonehenge StockTrader, Java Installation Guide</b></font></h1>
+<br>
+<a href="http://wso2.org/interop/stocktrader">WSO2
+StockTrader</a> is an online stock trading sample application
+with functionality equivalent to the <a href="http://msdn.microsoft.com/stocktrader">Microsoft .NET
+Stock Trader</a> sample benchmark application and <a href="http://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=trade6">IBM
+WebSphere's Trade 6.1</a> sample application. WSO2 StockTrader is
+powered by <a href="http://wso2.org/projects/wsf/php">WSO2
+WSF/PHP</a> , <a href="http://wso2.org/projects/wsf/ruby">WSO2 WSF/Ruby</a>, <a href="http://wso2.org/projects/wsf/perl">WSO2 WSF/Perl</a>, <a href="http://wso2.org/projects/wsf/python">WSO2 WSF/Python</a>, <a href="http://wso2.org/projects/wsf/spring">WSO2 WSF/Spring</a> and <a href="http://wso2.org/projects/wsas/java">WSO2
+WSAS</a>
+and implements the application in PHP, Ruby, Perl, Python, Spring and Java. It serves to
+illustrate interoperability between .NET, PHP, Ruby, Perl, Python, Spring and Java in deploying
+high-performance, scalable service oriented applications.
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Prerequisite</b></u></font></p>
+<ol>
+<li>
+<p style="margin-bottom: 0in;"><b>JDK 1.5</b></p>
+You can download JDK 1.5 from <a href="http://java.sun.com/javase/downloads/index_jdk5.jsp">here</a>.
+Set JAVA_HOME environment variable to the path where JDK is installed.</li>
+<li>
+<p style="margin-bottom: 0in;"><b>JCE</b></p>
+<a href="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jce_policy-1.5.0-oth-JPR@CDS-CDS_Developer">Download</a>
+and install Java Cryptography Extension (JCE) Unlimited Strength
+Jurisdiction Policy Files.&nbsp;</li>
+<li>
+<p style="margin-bottom: 0in;"><b>WSO2 WSAS</b></p>
+You can download WSO2 WSAS from <a href="http://wso2.org/downloads/wsas/">here</a>. The
+version should be 2.3 or more.
+</li>
+<li>
+<p style="margin-bottom: 0in;"><b>.NET Stock
+Trader 2.0</b></p>
+You can download it
+from <a href="http://msdn.microsoft.com/stocktrader">here</a>.
+</li>
+<li>
+<p style="margin-bottom: 0in;"><b>Enable TCP/IP
+Protocols of MSSQL server</b></p>
+Open “SQL Server
+Configuration Manager” from Start-&gt;Programs-&gt;Microsoft
+SQL Server 2005-&gt;Configuration Tools-&gt; SQL Server
+Configuration Manager. Enable TCP/IP and disable Named Pipes from
+protocols of your MSSQL server. (Note that, in following picture,
+MSSQLSERVER is the name of the SQL server. In your case, the name might
+be different)
+<p style="margin-bottom: 0in;"><img src="images/StockTrader1.jpg" name="graphics1" align="left" border="0" height="358" width="641"><br clear="left">
+</p>
+<p style="margin-bottom: 0in;">Open TCP/IP Properties
+by double clicking “TCP/IP”. Set “Listen All” to “Yes” in Protocol tab.</p>
+</li>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader2.jpg" name="graphics2" align="left" border="0" height="376" width="395"><br clear="left">
+<br>
+</p>
+</ol>
+<ol start="6">
+<p style="margin-bottom: 0in;">From IP Address tab,
+disable “TCP Dynamic Ports” by leaving it blank and give a valid “TCP
+Port” so that MSSQL server will listen in that port. (We have used port
+1433 in order processor services, so it is better to use that port)</p>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader3.jpg" name="graphics3" align="left" border="0" height="381" width="395"><br clear="left">
+</p>
+<p style="margin-bottom: 0in;">Similarly, enable TCP/IP
+from SQL Native Client Configuration and disable Named Pipes. Also,
+check whether the port is set correctly. (Port should be 1433)</p>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader4.jpg" name="graphics4" align="left" border="0" height="359" width="641"><br clear="left">
+</p>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader5.jpg" name="graphics5" align="left" border="0" height="441" width="395"><br clear="left">
+<br>
+After finishing above
+settings, restart MSSQL Server.</p>
+</ol>
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Installing
+Java Stock
+Trader</b></u></font></p>
+Download Java Stock Trader
+from <a href="http://wso2.org/interop/stocktrader">here</a>
+and unzip it.
+<ol>
+<li><b>Installing Business Service</b>
+<br>
+<font color="#000000">Go inside the folder "business_service". Copy the files
+inside “binary-files” (TradeServiceWsas.aar) to &lt;WSAS Install
+directory&gt;\repository\services. Copy the files inside "lib" (sqljdbc.jar) to </font><font color="#000000">&lt;WSAS Install
+directory&gt;\lib. </font><font color="#000000">Copy the files inside
+“config-files” (i.e. TradeServiceConfig.properties, sec.jks, security-policy.xml and
+mssql-db.properties) to &lt;WSAS Install
+directory&gt;\lib\tomcat\webapps\ROOT\WEB-INF\classes.&nbsp;</font><font color="#000000">After
+copying,
+edit
+mssql-db.properties (in &lt;WSAS Install
+directory&gt;\lib\tomcat\webapps\ROOT\WEB-INF\classes) and give IP
+and Port of the MSSQL server. You don't need to change user name,
+password or database settings. &nbsp;If you want to change the end
+point address of configuration service, edit
+TradeServiceConfig.properties and give the end point.</font><font color="#000000"></font></li><li><b>Installing
+Order Processor</b>
+<br>
+<font color="#000000">Go inside the folder "order_processor". Copy the files
+inside “binary-files” (i.e. OrderProcessor.aar and
+OrderProcessorMsec.aar) to &lt;WSAS Install
+directory&gt;\repository\services. Copy the files inside
+“config-files” (i.e. config-service.properties and
+mssql-db.properties) to &lt;WSAS Install
+directory&gt;\lib\tomcat\webapps\ROOT\WEB-INF\classes.&nbsp;</font><font color="#000000">After
+copying,
+edit
+mssql-db.properties (in &lt;WSAS Install
+directory&gt;\lib\tomcat\webapps\ROOT\WEB-INF\classes) and give IP
+and Port of the MSSQL server. You don't need to change user name,
+password or database settings. If you want to enable logging from Order
+Processor service,</font><font color="#000000"> edit
+log4j.properties in&nbsp;</font><font color="#000000">&lt;WSAS
+Install
+directory&gt;\conf</font><font color="#000000">
+and include following line:</font>
+<br>
+<font color="#008000">log4j.logger.org.wso2.stocktrader=DEBUG</font><br>
+<font color="#000000">Then start/restart WSAS and
+login. Goto Keystores and browse for&nbsp;sec.jks inside "keys"
+folder. Add that file to key store. (Password is "password").</font></li>
+<p></p>
+<img style="width: 1017px; height: 1020px;" alt="" src="images/WSASKeyStore.JPG"><br>
+</ol>
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Endpoint
+Addresses</b></u></font></p>
+These are the default endpoint addresses
+<ol>
+<li><b>Business Service</b><br>
+http://localhost:9762/services/TradeServiceWsas</li><li><b>Non-secure Order Processor</b>
+<br>
+http://localhost:9762/services/OrderProcessor</li>
+<li><b>Secure Order Processor</b>
+<br>
+http://localhost:9762/services/OrderProcessorMsec</li>
+</ol>
+<font size="3"><span style=""><br>
+</span></font>
+</div>
+<!--Google Analytics Tracking code-->
+<script type="text/javascript" src="https://ssl.google-analytics.com/urchin.js">
+</script>
+<script type="text/javascript">
+_uacct = "UA-103065-6"; _udn="wso2.org"; urchinTracker();</script><!--End of Google Analytics Tracking code-->
+</body></html>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader1.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader1.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader1.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader2.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader2.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader2.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader3.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader3.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader3.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader4.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader4.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader4.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader5.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader5.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/java/documents/images/StockTrader5.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/java/documents/images/WSASKeyStore.JPG
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/java/documents/images/WSASKeyStore.JPG?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/java/documents/images/WSASKeyStore.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/perl/documents/PerlStockTraderInstallationInXP.html
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/perl/documents/PerlStockTraderInstallationInXP.html?rev=725625&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/perl/documents/PerlStockTraderInstallationInXP.html (added)
+++ incubator/stonehenge/contrib/stocktrader/perl/documents/PerlStockTraderInstallationInXP.html Thu Dec 11 00:55:28 2008
@@ -0,0 +1,99 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head>
+<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>WSO2 StockTrader, Perl Installation Guide</title>
+
+<link href="../styles/interop-docs-header.css" rel="stylesheet">
+<meta name="GENERATOR" content="OpenOffice.org 2.2 (Win32)">
+<meta name="CREATED" content="20080512;12211400">
+<meta name="CHANGED" content="20080602;18141939">
+<style type="text/css">
+<!--
+@page { size: 8.5in 11in; margin: 0.79in }
+P { margin-bottom: 0.08in }
+-->
+</style></head>
+<body style="direction: ltr;" lang="en-US">
+<div id="header">
+</div>
+<div id="main-content">
+<div style="text-align: center;"></div>
+<h1 style="text-align: center;"><font style="font-size: 16pt;" size="4"><b>Stonehenge StockTrader, Perl Installation Guide</b></font></h1>
+<br>
+<a href="http://wso2.org/interop/stocktrader">WSO2
+StockTrader</a> is an online stock trading sample application
+with functionality equivalent to the <a href="http://msdn.microsoft.com/stocktrader">Microsoft .NET
+Stock Trader</a> sample benchmark application and <a href="http://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=trade6">IBM
+WebSphere's Trade 6.1</a> sample application. WSO2 StockTrader is
+powered by <a href="http://wso2.org/projects/wsf/php">WSO2
+WSF/PHP</a> , <a href="http://wso2.org/projects/wsf/ruby">WSO2
+WSF/Ruby</a>, <a href="http://wso2.org/projects/wsf/perl">WSO2
+WSF/Perl</a>, <a href="http://wso2.org/projects/wsf/python">WSO2
+WSF/Python</a>, <a href="http://wso2.org/projects/wsf/spring">WSO2
+WSF/Spring</a> and <a href="http://wso2.org/projects/wsas/java">WSO2
+WSAS</a>
+and implements the application in PHP, Ruby, Perl, Python, Spring and
+Java. It serves to
+illustrate interoperability between .NET, PHP, Ruby, Perl, Python,
+Spring and Java in deploying
+high-performance, scalable service oriented applications.<br>
+<br>
+<span style="font-weight: bold;">Note</span>: This
+version of Perl Stock Trader can only be installed in Linux.
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Prerequisite</b></u></font></p>
+<ol>
+<li>
+<p style="margin-bottom: 0in;"><span style="font-weight: bold;">Perl</span></p>
+<a href="http://www.perl.org/">Download</a>
+and install Perl.&nbsp;</li><li><p style="margin-bottom: 0in;"><b>Apache HTTP
+Server</b></p>
+You can download apache
+web server from <a href="http://httpd.apache.org/download.cgi">here</a>.</li>
+
+<li>
+<p style="margin-bottom: 0in;"><b>WSO2 WSF/Perl</b></p>
+Install WSO2 WSF/Perl. You
+can download it from <a href="http://wso2.org/downloads/wsf/perl">here</a>.
+Version should be 1.1 or more. Please follow the README
+file to
+install. </li>
+<li>
+<p style="margin-bottom: 0in;"><b>.NET Stock
+Trader 2.0</b></p>
+You can download it
+from <a href="http://msdn.microsoft.com/stocktrader">here</a>.
+</li></ol>
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Installing
+Perl Stock
+Trader</b></u></font></p>
+Download Perl Stock Trader
+from <a href="http://wso2.org/interop/stocktrader">here</a>
+and unzip it.
+<ol>
+<li>
+<b>Installing
+Trader Client</b>
+<br>
+Go inside trader_client directory.&nbsp;
+Copy the contents of trader
+folder to &lt;Apache Installed
+Directory&gt;\htdocs\trader. Copy the contents of cgi-bin to&nbsp;&lt;Apache Installed
+Directory&gt;\cgi-bin\. Enable execute permission for all the files inside &lt;Apache Installed
+Directory&gt;\cgi-bin directory. <strong><path></path></strong></li>
+</ol>
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Endpoint
+Addresses</b></u></font></p>
+These are the default endpoint addresses
+<ol>
+<li><b>Trader Client</b>
+<br>
+http://localhost:8080/cgi-bin/trader</li>
+</ol>
+<font size="3"><span><br>
+</span></font>
+</div>
+<!--Google Analytics Tracking code-->
+<script type="text/javascript" src="https://ssl.google-analytics.com/urchin.js">
+</script>
+<script type="text/javascript">
+_uacct = "UA-103065-6"; _udn="wso2.org"; urchinTracker();</script><!--End of Google Analytics Tracking code-->
+</body></html>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/php/documents/PHPStockTraderInstallationInXP.html
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/php/documents/PHPStockTraderInstallationInXP.html?rev=725625&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/php/documents/PHPStockTraderInstallationInXP.html (added)
+++ incubator/stonehenge/contrib/stocktrader/php/documents/PHPStockTraderInstallationInXP.html Thu Dec 11 00:55:28 2008
@@ -0,0 +1,195 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head>
+<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>WSO2 StockTrader, PHP Installation Guide</title>
+
+<link href="../styles/interop-docs-header.css" rel="stylesheet">
+<meta name="GENERATOR" content="OpenOffice.org 2.2 (Win32)">
+<meta name="CREATED" content="20080512;12211400">
+<meta name="CHANGED" content="20080602;18141939">
+<style type="text/css">
+<!--
+@page { size: 8.5in 11in; margin: 0.79in }
+P { margin-bottom: 0.08in }
+-->
+</style></head>
+<body style="direction: ltr;" lang="en-US">
+<div id="header">
+</div>
+<div id="main-content"><div style="text-align: center;">
+</div><h1 style="text-align: center;"><font style="font-size: 16pt;" size="4"><b>Stonehenge StockTrader, PHP Installation Guide</b></font></h1>
+<br>
+<a href="http://wso2.org/interop/stocktrader">WSO2
+StockTrader</a> is an online stock trading sample application
+with functionality equivalent to the <a href="http://msdn.microsoft.com/stocktrader">Microsoft .NET
+Stock Trader</a> sample benchmark application and <a href="http://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=trade6">IBM
+WebSphere's Trade 6.1</a> sample application. WSO2 StockTrader is
+powered by <a href="http://wso2.org/projects/wsf/php">WSO2
+WSF/PHP</a> , <a href="http://wso2.org/projects/wsf/ruby">WSO2 WSF/Ruby</a>, <a href="http://wso2.org/projects/wsf/perl">WSO2 WSF/Perl</a>, <a href="http://wso2.org/projects/wsf/python">WSO2 WSF/Python</a>, <a href="http://wso2.org/projects/wsf/spring">WSO2 WSF/Spring</a> and <a href="http://wso2.org/projects/wsas/java">WSO2
+WSAS</a>
+and implements the application in PHP, Ruby, Perl, Python, Spring and Java. It serves to
+illustrate interoperability between .NET, PHP, Ruby, Perl, Python, Spring and Java in deploying
+high-performance, scalable service oriented applications.
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Prerequisite</b></u></font></p>
+<ol>
+<li>
+<p style="margin-bottom: 0in;"><b>Apache HTTP
+Server</b></p>
+You can download apache
+web server from <a href="http://httpd.apache.org/download.cgi">here</a>.
+</li>
+<li>
+<p style="margin-bottom: 0in;"><b>PHP</b></p>
+<a href="http://www.php.net/downloads.php">Download</a>
+and install PHP. After installing PHP, open php.ini file and edit as
+follows
+<ol>
+<li>
+enable php_mssql
+extension (<font color="#008000">extension=php_mssql.dll</font>)
+</li>
+<li>disable warnings
+from php (<font color="#008000">error_reporting = E_ERROR
+&amp; ~E_NOTICE</font>) </li>
+<li>specify an
+error_log file name. In case there are any errors in the execution of
+PHP Stock Trader, error messages will be written to this file. (<font color="#008000">error_log =
+"C:\src\wsf\php\wso2-wsf-php-bin-1.3.1-win32\wsf_c\logs\php_error.log"</font>)
+</li>
+<li>Increase the max_execution_time to 100.</li>
+</ol>
+</li>
+<li>
+<p style="margin-bottom: 0in;"><b>PHP MSSQL
+Driver</b></p>
+Default MSSQL Driver
+coming with some PHP installation is too old to work correctly. You can
+find this information by checking the version of ntwdblib.dll (This
+file can be found in root directory of where you installed php. E.g.
+“C:\Program Files\PHP”). It should be 2000.80.194.0 or more. If the
+version is less than 2000.80.194.0, then you have to download it from <a href="http://www.userscape.com/ntwdblib.dll">here</a>
+and copy to PHP directory. </li>
+<li>
+<p style="margin-bottom: 0in;"><b>WSF/PHP</b></p>
+Install WSF/PHP. You
+can download it from <a href="http://wso2.org/downloads/wsf/php">here</a>.
+Version should be 1.3.2 or more. Please follow the README file to
+install. </li>
+<li>
+<p style="margin-bottom: 0in;"><b>.NET Stock
+Trader 2.0</b></p>
+You can download it
+from <a href="http://msdn.microsoft.com/stocktrader">here</a>.
+</li>
+</ol>
+<ol start="6">
+<li>
+<p style="margin-bottom: 0in;"><b>Enable TCP/IP
+Protocols of MSSQL server</b></p>
+Open “SQL Server
+Configuration Manager” from Start-&gt;Programs-&gt;Microsoft
+SQL Server 2005-&gt;Configuration Tools-&gt; SQL Server
+Configuration Manager. Enable TCP/IP and disable Named Pipes from
+protocols of your MSSQL server. (Note that, in following picture,
+MSSQLSERVER is the name of the SQL server. In your case, the name might
+be different)
+<p style="margin-bottom: 0in;"><img src="images/StockTrader1.jpg" name="graphics1" align="left" border="0" height="358" width="641"><br clear="left">
+</p>
+<p style="margin-bottom: 0in;">Open TCP/IP Properties
+by double clicking “TCP/IP”. Set “Listen All” to “Yes” in Protocol tab.</p>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader2.jpg" name="graphics2" align="left" border="0" height="376" width="395"><br clear="left">
+<br>
+</p>
+</li>
+</ol>
+<ol start="6">
+<p style="margin-bottom: 0in;">From IP Address tab,
+disable “TCP Dynamic Ports” by leaving it blank and give a valid “TCP
+Port” so that MSSQL server will listen in that port. (We have used port
+1433 in order processor services, so it is better to use that port)</p>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader3.jpg" name="graphics3" align="left" border="0" height="381" width="395"><br clear="left">
+</p>
+<p style="margin-bottom: 0in;">Similarly, enable TCP/IP
+from SQL Native Client Configuration and disable Named Pipes. Also,
+check whether the port is set correctly. (Port should be 1433)</p>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader4.jpg" name="graphics4" align="left" border="0" height="359" width="641"><br clear="left">
+</p>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader5.jpg" name="graphics5" align="left" border="0" height="441" width="395"><br clear="left">
+<br>
+After finishing above
+settings, restart MSSQL Server.</p>
+</ol>
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Installing
+PHP Stock
+Trader</b></u></font></p>
+Download PHP Stock Trader
+from <a href="http://wso2.org/interop/stocktrader">here</a>
+and unzip it.
+<ol>
+<li>
+<b>Installing
+Trader Client</b>
+<br>
+Copy the contents of trader_client
+folder to &lt;Apache Installed
+Directory&gt;\htdocs\trader_client
+<br>
+</li>
+<li><b>Installing
+Business Service</b>
+<br>
+Copy the contents of business_service
+folder to &lt;Apache Installed
+Directory&gt;\htdocs\business_service. After copying, edit
+database_config.xml and give IP and Port of the MSSQL server. You don't
+need to change user name, password or database settings. &nbsp;To
+change the end point of config service, you have to edit configuration_service_config.xml.&nbsp;<br>
+</li>
+<li><b>Installing
+Order Processor</b>
+<br>
+Copy the contents of order_processor
+folder to &lt;Apache Installed
+Directory&gt;\htdocs\order_processor. After copying, edit
+database_config.xml and give IP and Port of the MSSQL server. You don't
+need to change user name, password or database settings.</li><li><b>Installing Configuration Service</b><br>
+Copy the contents of config_service
+folder to &lt;Apache Installed
+Directory&gt;\htdocs\config_service. After copying, edit
+database_config.xml and give IP and Port of the MSSQL server. You don't
+need to change user name, password or database settings. Run
+"Table Creation.sql" in the database to create new tables needed by
+configuration service. &nbsp;Run "InsertScript.sql" to populate end
+points of the services. If you want to change the ip or port of service
+end points, you can modify it in "Service" table of "StockTraderDB"
+database.&nbsp;</li>
+</ol>
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Endpoint
+Addresses</b></u></font></p>
+These are the default endpoint addresses
+<ol>
+<li><b>Trader Client</b>
+<br>
+http://localhost:8080/trader_client/index.php<br>
+</li>
+<li><b>Business Service</b>
+<br>
+http://localhost:8080/business_service/business_svc.php
+<br>
+</li>
+<li><b>Non-secure Order Processor</b>
+<br>
+http://localhost:8080/order_processor/order_processor_svc.php </li>
+<li><b>Secure Order Processor</b>
+<br>
+http://localhost:8080/order_processor/order_processor_svc_msec.php</li><li><b>Configuration Service</b> <br>
+http://localhost:8080/config_service/config_svc.php</li>
+</ol>
+<font size="3"><span><br>
+</span></font>
+</div>
+<!--Google Analytics Tracking code-->
+<script type="text/javascript" src="https://ssl.google-analytics.com/urchin.js">
+</script>
+<script type="text/javascript">
+_uacct = "UA-103065-6"; _udn="wso2.org"; urchinTracker();</script><!--End of Google Analytics Tracking code-->
+</body></html>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader1.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader1.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader1.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader2.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader2.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader2.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader3.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader3.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader3.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader4.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader4.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader4.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader5.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader5.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/php/documents/images/StockTrader5.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/php/documents/images/WSASKeyStore.JPG
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/php/documents/images/WSASKeyStore.JPG?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/php/documents/images/WSASKeyStore.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/python/documents/PythonStockTraderInstallationInXP.html
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/python/documents/PythonStockTraderInstallationInXP.html?rev=725625&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/python/documents/PythonStockTraderInstallationInXP.html (added)
+++ incubator/stonehenge/contrib/stocktrader/python/documents/PythonStockTraderInstallationInXP.html Thu Dec 11 00:55:28 2008
@@ -0,0 +1,109 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head>
+<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>WSO2 StockTrader, Python Installation Guide</title>
+
+<link href="../styles/interop-docs-header.css" rel="stylesheet">
+<meta name="GENERATOR" content="OpenOffice.org 2.2 (Win32)">
+<meta name="CREATED" content="20080512;12211400">
+<meta name="CHANGED" content="20080602;18141939">
+<style type="text/css">
+<!--
+@page { size: 8.5in 11in; margin: 0.79in }
+P { margin-bottom: 0.08in }
+-->
+</style></head>
+<body style="direction: ltr;" lang="en-US">
+<div id="header">
+</div>
+<div id="main-content">
+<div style="text-align: center;"></div>
+<h1 style="text-align: center;"><font style="font-size: 16pt;" size="4"><b>Stonehenge StockTrader, Python Installation Guide</b></font></h1>
+<br>
+<a href="http://wso2.org/interop/stocktrader">WSO2
+StockTrader</a> is an online stock trading sample application
+with functionality equivalent to the <a href="http://msdn.microsoft.com/stocktrader">Microsoft .NET
+Stock Trader</a> sample benchmark application and <a href="http://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=trade6">IBM
+WebSphere's Trade 6.1</a> sample application. WSO2 StockTrader is
+powered by <a href="http://wso2.org/projects/wsf/php">WSO2
+WSF/PHP</a> , <a href="http://wso2.org/projects/wsf/ruby">WSO2
+WSF/Ruby</a>, <a href="http://wso2.org/projects/wsf/perl">WSO2
+WSF/Perl</a>, <a href="http://wso2.org/projects/wsf/python">WSO2
+WSF/Python</a>, <a href="http://wso2.org/projects/wsf/spring">WSO2
+WSF/Spring</a> and <a href="http://wso2.org/projects/wsas/java">WSO2
+WSAS</a>
+and implements the application in PHP, Ruby, Perl, Python, Spring and
+Java. It serves to
+illustrate interoperability between .NET, PHP, Ruby, Perl, Python,
+Spring and Java in deploying
+high-performance, scalable service oriented applications.<br>
+<br>
+<span style="font-weight: bold;">Note</span>: This
+version of Python Stock Trader can only be installed in Linux.
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Prerequisite</b></u></font></p>
+<ol>
+<li>
+<p style="margin-bottom: 0in;"><span style="font-weight: bold;">Python</span></p>
+<a href="http://www.python.org/">Download</a>
+and install Python 2.5 or more. If you are in debian based Linux distro
+you can use the command "sudo apt-get intall python python-dev" to
+install python. When you install Python from binary package,remember to
+install development files as well.&nbsp;</li>
+<li>
+<p style="margin-bottom: 0in;"><b>Django 0.96 or
+newer</b></p>
+You can download django source and binary releases from <a href="http://www.djangoproject.com/">here</a> or if
+you are in debian based Linux distribution use the command "sudo
+apt-get install python-django" to install Django.</li>
+<li>
+<p style="margin-bottom: 0in;"><b>WSO2 WSF/Python</b></p>
+Install WSO2 WSF/Python. You
+can download it from <a href="http://wso2.org/downloads/wsf/python">here</a>.
+Version should be 1.0.0 alpha or more. Please follow the README.INSTALL
+file to
+install. </li>
+<li>
+<p style="margin-bottom: 0in;"><b>.NET Stock
+Trader 2.0</b></p>
+You can download it
+from <a href="http://msdn.microsoft.com/stocktrader">here</a>.
+</li></ol>
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Installing
+Python Stock
+Trader</b></u></font></p>
+Download Python Stock Trader
+from <a href="http://wso2.org/interop/stocktrader">here</a>
+and unzip it.
+<ol>
+<li>
+<b>Installing
+Trader Client</b>
+<br>
+Go inside trader_client directory. Edit request_processor.py
+and change the LOG_DIR to point to the location of the log file,
+LOG_LEVEL to the log level that you prefer, WSFC_HOME to point to WSFC
+installation directory. Edit&nbsp;urls.py and change the
+'document_root' of the line <span style="font-weight: bold;">(r'^site_media/(?P.*)$',
+'django.views.static.serve', {'document_root':
+'/home/milinda/wso2/stock_trader/media'})</span> to point to
+directory where stock_trader/media will reside. &nbsp;To run the
+server, execute '<span style="font-weight: bold;">python
+manage.py runserver <span style="font-style: italic;">YOUR_IP:PORT</span></span>'
+command insde the trader_client directory.<strong><path></path></strong></li>
+</ol>
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Endpoint
+Addresses</b></u></font></p>
+These are the default endpoint addresses
+<ol>
+<li><b>Trader Client</b>
+<br>
+http://localhost:8000/index</li>
+</ol>
+<font size="3"><span><br>
+</span></font>
+</div>
+<!--Google Analytics Tracking code-->
+<script type="text/javascript" src="https://ssl.google-analytics.com/urchin.js">
+</script>
+<script type="text/javascript">
+_uacct = "UA-103065-6"; _udn="wso2.org"; urchinTracker();</script><!--End of Google Analytics Tracking code-->
+</body></html>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/ruby/documents/RubyStockTraderInstallationInXP.html
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/documents/RubyStockTraderInstallationInXP.html?rev=725625&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/ruby/documents/RubyStockTraderInstallationInXP.html (added)
+++ incubator/stonehenge/contrib/stocktrader/ruby/documents/RubyStockTraderInstallationInXP.html Thu Dec 11 00:55:28 2008
@@ -0,0 +1,165 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head>
+<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>WSO2 StockTrader, Ruby Installation Guide</title>
+
+<link href="../styles/interop-docs-header.css" rel="stylesheet">
+<meta name="GENERATOR" content="OpenOffice.org 2.2 (Win32)">
+<meta name="CREATED" content="20080512;12211400">
+<meta name="CHANGED" content="20080602;18141939">
+<style type="text/css">
+<!--
+@page { size: 8.5in 11in; margin: 0.79in }
+P { margin-bottom: 0.08in }
+-->
+</style></head>
+<body style="direction: ltr;" lang="en-US">
+<div id="header">
+</div>
+<div id="main-content">
+<div style="text-align: center;"></div>
+<h1 style="text-align: center;"><font style="font-size: 16pt;" size="4"><b>Stonehenge StockTrader, Ruby Installation Guide</b></font></h1>
+<br>
+<a href="http://wso2.org/interop/stocktrader">WSO2
+StockTrader</a> is an online stock trading sample application
+with functionality equivalent to the <a href="http://msdn.microsoft.com/stocktrader">Microsoft .NET
+Stock Trader</a> sample benchmark application and <a href="http://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=trade6">IBM
+WebSphere's Trade 6.1</a> sample application. WSO2 StockTrader is
+powered by <a href="http://wso2.org/projects/wsf/php">WSO2
+WSF/PHP</a> , <a href="http://wso2.org/projects/wsf/ruby">WSO2
+WSF/Ruby</a>, <a href="http://wso2.org/projects/wsf/perl">WSO2
+WSF/Perl</a>, <a href="http://wso2.org/projects/wsf/python">WSO2
+WSF/Python</a>, <a href="http://wso2.org/projects/wsf/spring">WSO2
+WSF/Spring</a> and <a href="http://wso2.org/projects/wsas/java">WSO2
+WSAS</a>
+and implements the application in PHP, Ruby, Perl, Python, Spring and
+Java. It serves to
+illustrate interoperability between .NET, PHP, Ruby, Perl, Python,
+Spring and Java in deploying
+high-performance, scalable service oriented applications.
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Prerequisite</b></u></font></p>
+<ol>
+
+<li>
+<p style="margin-bottom: 0in;"><span style="font-weight: bold;">Ruby</span></p>
+<a href="http://www.ruby-lang.org/en/downloads/">Download</a>
+and install Ruby.&nbsp;</li>
+<li>
+<p style="margin-bottom: 0in;"><b>Ruby MSSQL
+Driver</b></p>Get the latest source distribution of <a href="http://rubyforge.org/projects/ruby-dbi/">Ruby-DBI </a>and copy the file "lib/dbd/ADO.rb" to "&lt;your ruby installed location&gt;/lib/ruby/site_ruby/1.8/DBD/ADO/ADO.rb".&nbsp;</li><li><p style="margin-bottom: 0in;"><b>MySQL server</b></p><a href="http://dev.mysql.com/downloads/">Download</a> and install MySQL server. It is needed to create rails applications.&nbsp;</li>
+<li>
+<p style="margin-bottom: 0in;"><b>WSO2 WSF/Ruby</b></p>
+Install WSO2 WSF/Ruby. You
+can download it from <a href="http://wso2.org/downloads/wsf/ruby">here</a>.
+Version should be 1.1.0 or more. Please follow the README file to
+install. </li>
+<li>
+<p style="margin-bottom: 0in;"><b>.NET Stock
+Trader 2.0</b></p>
+You can download it
+from <a href="http://msdn.microsoft.com/stocktrader">here</a>.
+</li>
+</ol>
+<ol start="6">
+<li>
+<p style="margin-bottom: 0in;"><b>Enable TCP/IP
+Protocols of MSSQL server</b></p>
+Open “SQL Server
+Configuration Manager” from Start-&gt;Programs-&gt;Microsoft
+SQL Server 2005-&gt;Configuration Tools-&gt; SQL Server
+Configuration Manager. Enable TCP/IP and disable Named Pipes from
+protocols of your MSSQL server. (Note that, in following picture,
+MSSQLSERVER is the name of the SQL server. In your case, the name might
+be different)
+<p style="margin-bottom: 0in;"><img src="images/StockTrader1.jpg" name="graphics1" align="left" border="0" height="358" width="641"><br clear="left">
+</p>
+<p style="margin-bottom: 0in;">Open TCP/IP Properties
+by double clicking “TCP/IP”. Set “Listen All” to “Yes” in Protocol tab.</p>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader2.jpg" name="graphics2" align="left" border="0" height="376" width="395"><br clear="left">
+<br>
+</p>
+</li>
+</ol>
+<ol start="6">
+<p style="margin-bottom: 0in;">From IP Address tab,
+disable “TCP Dynamic Ports” by leaving it blank and give a valid “TCP
+Port” so that MSSQL server will listen in that port. (We have used port
+1433 in order processor services, so it is better to use that port)</p>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader3.jpg" name="graphics3" align="left" border="0" height="381" width="395"><br clear="left">
+</p>
+<p style="margin-bottom: 0in;">Similarly, enable TCP/IP
+from SQL Native Client Configuration and disable Named Pipes. Also,
+check whether the port is set correctly. (Port should be 1433)</p>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader4.jpg" name="graphics4" align="left" border="0" height="359" width="641"><br clear="left">
+</p>
+<p style="margin-bottom: 0in;"><img src="images/StockTrader5.jpg" name="graphics5" align="left" border="0" height="441" width="395"><br clear="left">
+<br>
+After finishing above
+settings, restart MSSQL Server.</p>
+</ol>
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Installing Ruby Stock
+Trader</b></u></font></p>
+Download Ruby Stock Trader
+from <a href="http://wso2.org/interop/stocktrader">here</a>
+and unzip it.
+<ol>
+<li>
+<b>Installing
+Trader Client</b>
+<br>Create a rails application by running "rails trader_client_app".
+Copy the contents of "trader_client\app"
+folder to &lt;trader_client_app rails Application Directory&gt;\app.
+Copy the contents of "trader_client\public" folder to
+&lt;trader_client_app rails Application Directory&gt;\public. &nbsp;If
+you are using rails 2.0.0 or above you may need to configure the
+database information in your rails application. Edit
+&lt;trader_client_app rails Application
+Directory&gt;\config\database.yml and give username, password or your
+MySQL server. Also you have to create a database in your MySQL server
+and give the&nbsp;database name in the configuration. You can find a
+guide on how to configure the database <a href="http://wiki.rubyonrails.com/rails/pages/TutorialStepOne">here</a>.
+After setting them, you can start trader_client_app rails application
+on port 3000 (or some other port) by running "ruby script\server -p
+3000" from &lt;trader_client_app rails Application Directory&gt;. <span style="font-weight: bold;">Note</span>: You have to use different rails applications for trader_client and order_processor. They have to run on different ports.
+</li>
+
+<li><b>Installing
+Order Processor</b>
+<br>Create a rails application by running "rails order_processor_app". Copy the
+contents of "order_processor"
+folder to &lt;order_processor_app rails Application Directory&gt;\app\controllers. After copying, edit
+database_config.xml and give IP and Port of the MSSQL server. You don't
+need to change user name, password or database settings. If you are using rails 2.0.0
+or above you may need to configure the database information in your
+rails application. Edit &lt;order_processor_app rails Application
+Directory&gt;\config\database.yml and give username, password or your
+MySQL server. Also you have to create a database in your MySQL server
+and give the&nbsp;database name in the configuration. You can find a guide
+on how to configure the database <a href="http://wiki.rubyonrails.com/rails/pages/TutorialStepOne">here</a>.
+After setting them, you can start order_processor_app rails application on
+port 3005 (or some other port) by running "ruby script\server -p 3005"
+from &lt;order_processor_app rails Application Directory&gt;. <span style="font-weight: bold;">Note</span>: You have to use different rails applications for trader_client and order_processor. They have to run on different ports.</li></ol>
+<p style="margin-bottom: 0in;"><font size="4"><u><b>Endpoint
+Addresses</b></u></font></p>
+These are the default endpoint addresses
+<ol>
+<li><b>Trader Client</b>
+<br>
+http://localhost:3000/trade</li>
+
+<li><b>Non-secure Order Processor</b>
+<br>
+http://localhost:3005/OrderService </li>
+<li><b>Secure Order Processor</b>
+<br>
+http://localhost:3005/OrderServiceMsec</li>
+
+</ol>
+<font size="3"><span><br>
+</span></font>
+</div>
+<!--Google Analytics Tracking code-->
+<script type="text/javascript" src="https://ssl.google-analytics.com/urchin.js">
+</script>
+<script type="text/javascript">
+_uacct = "UA-103065-6"; _udn="wso2.org"; urchinTracker();</script><!--End of Google Analytics Tracking code-->
+</body></html>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader1.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader1.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader1.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader2.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader2.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader2.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader3.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader3.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader3.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader4.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader4.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader4.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader5.jpg
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader5.jpg?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/StockTrader5.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/WSASKeyStore.JPG
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/documents/images/WSASKeyStore.JPG?rev=725625&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/ruby/documents/images/WSASKeyStore.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message