DayTrader Configuration DayTrader


Current DayTrader Configuration:
The current DayTrader runtime configuration is detailed below. View and optionally update run-time parameters.  

NOTE: Parameters settings will return to default on server restart. To make configuration settings persistent across application server stop/starts, edit the daytrader.props file inside daytrader-ee7-web.war (which is inside the daytrader ear file).

Run-Time Mode

Full EJB3
Direct (JDBC)


Run Time Mode determines server implementation of the TradeServices to use in the DayTrader application Enterprise Java Beans including Session, Entity and Message beans or Direct mode which uses direct database and JMS access. See DayTrader FAQ for details.
Use Remote EJB Interface
EJB3 Mode Only. By default a local interface is used.
Order-Processing Mode

Sync
Async_2-Phase
Async_ManagedThread


Order Processing Mode determines the mode for completing stock purchase and sell operations. Synchronous mode completes the order immediately. Asychronous_2-Phase performs a 2-phase commit over the EJB Entity/DB and MDB/JMS transactions. See DayTrader FAQ for details.
WebInterface

JSP
JSP-Images

This setting determines the Web interface technology used, JSPs or JSPs with static images and GIFs.
Miscellaneous Settings
DayTrader Max Users

Trade Max Quotes
By default the DayTrader database is populated with 15,000 users (uid:0 - uid:199) and 10,000 quotes (s:0 - s:399).
Market Summary Interval
< 0 Do not perform Market Summary Operations.
= 0 Perform market Summary on every request.

> 0 number of seconds between Market Summary Operations
Primitive Iteration
By default the DayTrader primitives are execute one operation per web request. Change this value to repeat operations multiple times per web request.
Publish Quote Updates
Publish quote price changes to a JMS topic.
Percent of Trades To Display
The percent of recent trades to display on the Market Summary websocket. This requires the enabling of publish quote price updates above.
Display Order Alerts
Display completed order alerts.
Enable long run support
Enable long run support by disabling the show all orders query performed on the Account page.
Enable operation trace
Enable full trace
Enable DayTrader processing trace messages

DayTrader Configuration DayTrader