Configure DayTrader before starting to use it.
在开始使用DayTrader之前对其进行配置。
One dynamic web project: daytrader-web-1_0-SNAPSHOT.
一个动态web项目:daytrader - web - 1_0 - SNAPSHOT。
Listing 6: Daytrader DB2 database resource adapter configuration.
清单6:DaytraderDB 2数据库资源适配器配置。
Create a properties file used to deploy the DayTrader application.
创建一个属性文件,用于部署DayTrader应用程序。
Edit the C: \ daytrader \ plans \ dayTrader-db2-9.1-XA-plan.xml file.
编辑c: \daytrader \plans \ daytrader-db 2 - 9.1 -XA -plan . xml文件。
Command: db2 a "TVF C: \ daytrader \ modules \ db2 \ SQL \ table."ddl.
命令:db2—tvfC: \daytrader \modules \db 2 \sql \Table.ddl。
Manually install, configure, and verify the Apache DayTrader application.
手动安装、配置和验证apacheDayTrader应用程序。
For the Archive field, specify the.ear file for the DayTrader application.
在Archive字段中,指定DayTrader应用程序的.ear文件。
For the DayTrader application, each task performs a query against the database.
对于DayTrader应用程序来说,每个任务都需要对数据库执行一次查询。
The daytrader sample provided by Community Edition uses the module scoped datasource.
Community Edition提供的daytrader示例使用该模块范围的数据源。
The daytrader-ear-1.0-SNAPSHOT.ear file is located in samples/daytrader/bin/ directory.
daytrader-ear-1.0-SNAPSHOT.ear文件位于samples/daytrader/bin/目录下。
The resources we will define map to the <ext-module> sections of the dayTrader-plan.xml file.
我们要定义的资源映射到dayTrader-plan.xml文件的 <ext-module>部分。
These are the modules that appear in the application.xml descriptor of the DayTrader application.
这些是出现在DayTrader应用程序的application . xml描述符中的模块。
Next, we need to define the JMS and JDBC resources that are required by the DayTrader application.
接下来,我们需要定义DayTrader应用程序所需的JMS和JDBC资源。
Finally, we will define activation specifications for each of the MDBs in the DayTrader application.
最后,我们将为DayTrader应用程序中的每个mdb定义激活规范。
The dayTrader sample application is an example of an application with its own resource adapter instance.
dayTrader示例应用程序是一个拥有自己的资源适配器实例的应用程序示例。
This article discussed this core set of tunables plus other options that benefit the DayTrader application.
本文讨论了这些可以调优的核心参数,以及其他一些能让DayTrader应用程序获益的选项。
You will use this project to import the configuration of the cell after you set up the DayTrader environment.
在设置好DayTrader环境之后,您要使用该项目导入对单元的配置。
Under Dynamic Web Projects in the Project Explorer (Figure 1), expand the daytrader-web-1_0-SNAPSHOT project.
在ProjectExplorer(图1)中的DynamicWebProjects下,展开 daytrader-web-1_0-SNAPSHOT项目。
A recommended setting for initial and maximum heap size for the DayTrader application would therefore be 1024 MB.
建议将DayTrader应用程序的初始和最大堆大小设置为1024MB。
The Apache DayTrader application is a performance benchmark application that models an online stock trading system.
ApacheDayTrader应用程序是一个建模在线股票交易系统的性能基准应用程序。
The definition of these resources is found within one of the ext-module elements in daytrader-plan.xml (Listing 12).
这些资源的定义可以在daytrader -plan . xml中的一个ext -module元素内找到(清单12)。
Figure 12 is a diagram taken from the Apache DayTrader website that describes the layout of the application environment.
图12是引用自apacheDayTrader网站的一幅图,描述应用程序环境的布局。
You can use this project to import the existing configuration of your DayTrader environment by running it in import mode.
您可以在Import模式下运行该项目,从而导入DayTrader环境的现有配置。
Right-click on the daytrader-web-1_0-SNAPSHOT deployment descriptor and select Open With => Deployment Descriptor Editor.
右键单击 daytrader-web-1_0-SNAPSHOT部署描述符,并选择Open With =>DeploymentDescriptor Editor。
An optional section at the end describes how to deploy the DayTrader sample application if you want to use it for testing.
在结尾处一个可选的小节描述了如果您希望将其用于测试的话,如何配置DayTrader例子应用程序。
The DayTrader application does not use many long-lived objects and typically runs best with the default optthruput GC policy.
DayTrader应用程序并未使用许多长期对象,并且在使用默认的GC策略时性能最佳。
Many of the errors listed under the Problems TAB are due to classes not being found by the daytrader-web-1_0-SNAPSHOT web module.
Problems选项卡下列出的许多错误都是由daytrader -web - 1_0 - SNAPSHOT web模块没有找到的类导致的。
Next, we need to define TradeStreamerTopic and TradeBrokerQueue, which are admin objects in the daytrader-plan.xml file(Listing 6).
接下来,我们需要定义TradeStreamerTopic和TradeBrokerQueue,它们是daytrader-plan.xml文件中的管理对象(清单6)。
If your application utilizes many statements like DayTrader does, then increasing this parameter can improve application performance.
如果您的应用程序像DayTrader那样使用许多语句,则增加此参数有时可以改善应用程序性能。
应用推荐