Skip to content
No description, website, or topics provided.
Java HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
jmeter_files
resources/data/tradedb
src/main
.gitignore
LICENSE
README.md
README_LOAD_TEST.md
pom.xml

README.md

Java EE8: Tradelite8 Sample

This sample contains the TradeLite8 benchmark, which is an application built around the paradigm of an online stock trading system. Tradelite8 is a subset of the DayTrader8 benchmark, focusing on servlets, jsps, websockets, and a direct jdbc connection. 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.

Tradelite is an end-to-end benchmark and performance sample application.

This sample can be installed onto Liberty runtime versions 18.0.0.2 and later. A prebuilt derby database is provided in resources/data

To run this sample, first download or clone this repo - to clone:

git clone git@github.com:OpenLiberty/sample.tradelite8.git

From inside the sample.tradelite8 directory, build and start the application in Open Liberty with the following command:

mvn clean package liberty:run-server

The server will listen on port 9080 by default. You can change the port (for example, to port 9081) by adding mvn clean package liberty:run-server -DtestServerHttpPort=9081 to the end of the Maven command.

Once the server is started, you should be able to access the application at: http://localhost:9080/tradelite

Notice

© Copyright IBM Corporation 2019.

License

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

    http://www.apache.org/licenses/LICENSE-2.0

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