Daytrader3 Sample

The source code for the DayTrader3 sample is in the sample.daytrader3 GitHub repository. To download, build, and run the sample (using the command line or Eclipse), follow the instructions in the sample's README.

The sample contains the DayTrader 3 benchmark, which is an application built around the paradigm of an online stock trading system. The application allows users to login, view their portfolio, look up 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 built on a core set of Java EE 6 technologies that includes Java Servlets and JavaServer Pages (JSPs) for the presentation layer and Java Persistence Architecture (JPA), Java database connectivity (JDBC), Java Message Service (JMS), Enterprise JavaBeans (EJBs) and Message-Driven Beans (MDBs) for the back-end business logic and persistence layer. Daytrader 3 also adds some simple Java Server Faces (JSF) and Java API for RESTful Web Services (JAX-RS) functionality.

This sample contains a server definition that includes ejbLite-3.1, jmsMdb-3.1, wasJmsServer-1.0, wasJmsClient-1.1, jpa-2.0, jaxrs-1.1, jsf-2.0 and other necessary features. It also contains a demo application daytrader3-ee6.ear, which demonstrates multiple features supported by the Liberty profile.

This sample can be installed onto runtime versions 8.5.5.0 and later.