Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A sample to use the axon framework for a trading application
Java CSS JavaScript
tree: 7183fec72e

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
companies-api
companies
infrastructure
orders-api
orders
query
trade-engine-api
trade-engine
users-api
users-query
users
web-ui
.gitignore
README
pom.xml

README

This is a sample application to demonstrate the possibilities of the Axon framework in a high load environment. We have chosen to create a Trader application. All you need to run it is java, mongodb and maven.

Initial setup
-------------
- Make sure you have java installed
http://www.java.com/download/

- Make sure you have maven installed
http://maven.apache.org/download.html#Installation

- Make sure you have mongodb installed
http://www.mongodb.org/display/DOCS/Quickstart

When using mongodb in a test environment, it is easiest to just start one instance with the default port on your local machine. If you want another setup, you can find more information in the advanced configuration section.

Running the sample
------------------
- First you need to download the source code, if you are reading this file on your local machine you already have downloaded the source code. If you are on the main page of the Github project, you can easily find a url to clone the repository or to download a zip with all the sources.

* Maven
- Make sure you have your mongo instance running
- Step into the main folder of the project
> mvn clean install
> cd web-ui
> mvn jetty:run-war
- Browse to http://localhost:8080 and you should see the user accounts that you can use to login.
(You can always refresh the data by calling /data/init on the application)

More documentation
----------------------
We are documenting the sample on the wiki of the github project.
https://github.com/AxonFramework/Axon-trader/wiki
Something went wrong with that request. Please try again.