Stonehenge StockTrader, Perl Installation Guide


WSO2 StockTrader is an online stock trading sample application with functionality equivalent to the Microsoft .NET Stock Trader sample benchmark application and IBM WebSphere's Trade 6.1 sample application. WSO2 StockTrader is powered by WSO2 WSF/PHP , WSO2 WSF/Ruby, WSO2 WSF/Perl, WSO2 WSF/Python, WSO2 WSF/Spring and WSO2 WSAS 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.

Note: This version of Perl Stock Trader can only be installed in Linux.

Prerequisite

  1. Perl

    Download and install Perl. 
  2. Apache HTTP Server

    You can download apache web server from here.
  3. WSO2 WSF/Perl

    Install WSO2 WSF/Perl. You can download it from here. Version should be 1.1 or more. Please follow the README file to install.
  4. .NET Stock Trader 2.0

    You can download it from here.

Installing Perl Stock Trader

Download Perl Stock Trader from here and unzip it.
  1. Installing Trader Client
    Go inside trader_client directory.  Copy the contents of trader folder to <Apache Installed Directory>\htdocs\trader. Copy the contents of cgi-bin to <Apache Installed Directory>\cgi-bin\. Enable execute permission for all the files inside <Apache Installed Directory>\cgi-bin directory.

Endpoint Addresses

These are the default endpoint addresses
  1. Trader Client
    http://localhost:8080/cgi-bin/trader