Skip to content
The DayTrader 7 benchmark sample, which is a Java EE 7 application built around the paradigm of an online stock trading system. #JavaEE7
Java HTML Python Other
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
daytrader-ee7-ejb Streamlined the output message. Below is an example: Jun 15, 2017
daytrader-ee7-wlpcfg update CDI prims May 17, 2017
daytrader-ee7 Fix mvn build Feb 20, 2017
jmeter_files Make long-running WebSockets per-user Nov 4, 2019
scripts Update Nov 25, 2019
LICENSE Initial commit Oct 13, 2015 Add Travis status Nov 9, 2015
build.gradle initial code commit Oct 13, 2015

sample.daytrader7 Build Status

Java EE7: DayTrader7 Sample

Java EE7 DayTrader7 Sample

This sample contains the DayTrader 7 benchmark, which is an application built around the paradigm of an online stock trading system. The application allows users to login, view their portfolio, lookup stock quotes, and buy or sell stock shares. With the aid of a Web-based load driver such as Apache JMeter, the real-world workload provided by DayTrader can be used to measure and compare the performance of Java Platform, Enterprise Edition (Java EE) application servers offered by a variety of vendors. In addition to the full workload, the application also contains a set of primitives used for functional and performance testing of various Java EE components and common design patterns.

DayTrader is an end-to-end benchmark and performance sample application. It provides a real world Java EE workload. DayTrader's new design spans Java EE 7, including the new WebSockets specification. Other Java EE features include JSPs, Servlets, EJBs, JPA, JDBC, JSF, CDI, Bean Validation, JSON, JMS, MDBs, and transactions (synchronous and asynchronous/2-phase commit).

This sample can be installed onto WAS Liberty runtime versions and later.

Getting Started

Browse the code to see what it does, or build and run it yourself:

Once the server has been started, go to http://localhost:9082/daytrader to interact with the sample.


© Copyright IBM Corporation 2015.


Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.
You can’t perform that action at this time.