You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dw...@apache.org on 2009/08/28 21:52:14 UTC

svn commit: r809008 [5/7] - in /geronimo/daytrader/trunk: assemblies/ assemblies/daytrader-javaee/ assemblies/daytrader-javaee/src/ assemblies/daytrader-javaee/src/main/ assemblies/daytrader-javaee/src/main/resources/ assemblies/daytrader-javaee/src/ma...

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/derby/Table.ddl
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/derby/Table.ddl?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/derby/Table.ddl (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/derby/Table.ddl Fri Aug 28 19:52:10 2009
@@ -0,0 +1,107 @@
+##    Licensed to the Apache Software Foundation (ASF) under one or more
+##    contributor license agreements.  See the NOTICE file distributed with
+##    this work for additional information regarding copyright ownership.
+##    The ASF licenses this file to You 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.
+
+# Each SQL statement in this file should terminate with a semicolon (;)
+# Lines starting with the pound character (#) are considered as comments
+DROP TABLE HOLDINGEJB;
+DROP TABLE ACCOUNTPROFILEEJB;
+DROP TABLE QUOTEEJB;
+DROP TABLE KEYGENEJB;
+DROP TABLE ACCOUNTEJB;
+DROP TABLE ORDEREJB;
+
+DROP TABLE OPENJPASEQ;
+
+create table OPENJPASEQ
+(ID SMALLINT NOT NULL PRIMARY KEY,
+SEQUENCE_VALUE BIGINT);
+
+CREATE TABLE HOLDINGEJB
+  (PURCHASEPRICE DECIMAL(14, 2),
+   HOLDINGID INTEGER NOT NULL,
+   QUANTITY DOUBLE NOT NULL,
+   PURCHASEDATE TIMESTAMP,
+   ACCOUNT_ACCOUNTID INTEGER,
+   QUOTE_SYMBOL VARCHAR(250));
+
+ALTER TABLE HOLDINGEJB
+  ADD CONSTRAINT PK_HOLDINGEJB PRIMARY KEY (HOLDINGID);
+
+CREATE TABLE ACCOUNTPROFILEEJB
+  (ADDRESS VARCHAR(250),
+   PASSWD VARCHAR(250),
+   USERID VARCHAR(250) NOT NULL,
+   EMAIL VARCHAR(250),
+   CREDITCARD VARCHAR(250),
+   FULLNAME VARCHAR(250));
+
+ALTER TABLE ACCOUNTPROFILEEJB
+  ADD CONSTRAINT PK_ACCOUNTPROFILE2 PRIMARY KEY (USERID);
+
+CREATE TABLE QUOTEEJB
+  (LOW DECIMAL(14, 2),
+   OPEN1 DECIMAL(14, 2),
+   VOLUME DOUBLE NOT NULL,
+   PRICE DECIMAL(14, 2),
+   HIGH DECIMAL(14, 2),
+   COMPANYNAME VARCHAR(250),
+   SYMBOL VARCHAR(250) NOT NULL,
+   CHANGE1 DOUBLE NOT NULL);
+
+ALTER TABLE QUOTEEJB
+  ADD CONSTRAINT PK_QUOTEEJB PRIMARY KEY (SYMBOL);
+
+CREATE TABLE KEYGENEJB
+  (KEYVAL INTEGER NOT NULL,
+   KEYNAME VARCHAR(250) NOT NULL);
+
+ALTER TABLE KEYGENEJB
+  ADD CONSTRAINT PK_KEYGENEJB PRIMARY KEY (KEYNAME);
+
+CREATE TABLE ACCOUNTEJB
+  (CREATIONDATE TIMESTAMP,
+   OPENBALANCE DECIMAL(14, 2),
+   LOGOUTCOUNT INTEGER NOT NULL,
+   BALANCE DECIMAL(14, 2),
+   ACCOUNTID INTEGER NOT NULL,
+   LASTLOGIN TIMESTAMP,
+   LOGINCOUNT INTEGER NOT NULL,
+   PROFILE_USERID VARCHAR(250));
+
+ALTER TABLE ACCOUNTEJB
+  ADD CONSTRAINT PK_ACCOUNTEJB PRIMARY KEY (ACCOUNTID);
+
+CREATE TABLE ORDEREJB
+  (ORDERFEE DECIMAL(14, 2),
+   COMPLETIONDATE TIMESTAMP,
+   ORDERTYPE VARCHAR(250),
+   ORDERSTATUS VARCHAR(250),
+   PRICE DECIMAL(14, 2),
+   QUANTITY DOUBLE NOT NULL,
+   OPENDATE TIMESTAMP,
+   ORDERID INTEGER NOT NULL,
+   ACCOUNT_ACCOUNTID INTEGER,
+   QUOTE_SYMBOL VARCHAR(250),
+   HOLDING_HOLDINGID INTEGER);
+
+ALTER TABLE ORDEREJB
+  ADD CONSTRAINT PK_ORDEREJB PRIMARY KEY (ORDERID);
+
+CREATE INDEX ACCOUNT_USERID ON ACCOUNTEJB(PROFILE_USERID);
+CREATE INDEX HOLDING_ACCOUNTID ON HOLDINGEJB(ACCOUNT_ACCOUNTID);
+CREATE INDEX ORDER_ACCOUNTID ON ORDEREJB(ACCOUNT_ACCOUNTID);
+CREATE INDEX ORDER_HOLDINGID ON ORDEREJB(HOLDING_HOLDINGID);
+CREATE INDEX CLOSED_ORDERS ON ORDEREJB(ACCOUNT_ACCOUNTID,ORDERSTATUS);
+

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/oracle/Table.ddl
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/oracle/Table.ddl?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/oracle/Table.ddl (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/oracle/Table.ddl Fri Aug 28 19:52:10 2009
@@ -0,0 +1,100 @@
+##    Licensed to the Apache Software Foundation (ASF) under one or more
+##    contributor license agreements.  See the NOTICE file distributed with
+##    this work for additional information regarding copyright ownership.
+##    The ASF licenses this file to You 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.
+
+# Each SQL statement in this file should terminate with a semicolon (;)
+# Lines starting with the pound character (#) are considered as comments
+DROP TABLE HOLDINGEJB cascade constraints;
+DROP TABLE ACCOUNTPROFILEEJB cascade constraints;
+DROP TABLE QUOTEEJB cascade constraints;
+DROP TABLE KEYGENEJB cascade constraints;
+DROP TABLE ACCOUNTEJB cascade constraints;
+DROP TABLE ORDEREJB cascade constraints;
+
+CREATE TABLE HOLDINGEJB
+  (PURCHASEPRICE DECIMAL(14, 2) NULL,
+   HOLDINGID INTEGER NOT NULL,
+   QUANTITY NUMBER NOT NULL,
+   PURCHASEDATE DATE NULL,
+   ACCOUNT_ACCOUNTID INTEGER NULL,
+   QUOTE_SYMBOL VARCHAR2(250) NULL);
+
+ALTER TABLE HOLDINGEJB
+  ADD CONSTRAINT PK_HOLDINGEJB PRIMARY KEY (HOLDINGID);
+
+CREATE TABLE ACCOUNTPROFILEEJB
+  (ADDRESS VARCHAR2(250) NULL,
+   PASSWD VARCHAR2(250) NULL,
+   USERID VARCHAR2(250) NOT NULL,
+   EMAIL VARCHAR2(250) NULL,
+   CREDITCARD VARCHAR2(250) NULL,
+   FULLNAME VARCHAR2(250) NULL);
+
+ALTER TABLE ACCOUNTPROFILEEJB
+  ADD CONSTRAINT PK_ACCOUNTPROFILEEJB PRIMARY KEY (USERID);
+
+CREATE TABLE QUOTEEJB
+  (LOW DECIMAL(14, 2) NULL,
+   OPEN1 DECIMAL(14, 2) NULL,
+   VOLUME NUMBER NOT NULL,
+   PRICE DECIMAL(14, 2) NULL,
+   HIGH DECIMAL(14, 2) NULL,
+   COMPANYNAME VARCHAR2(250) NULL,
+   SYMBOL VARCHAR2(250) NOT NULL,
+   CHANGE1 NUMBER NOT NULL);
+
+ALTER TABLE QUOTEEJB
+  ADD CONSTRAINT PK_QUOTEEJB PRIMARY KEY (SYMBOL);
+
+CREATE TABLE KEYGENEJB
+  (KEYVAL INTEGER NOT NULL,
+   KEYNAME VARCHAR2(250) NOT NULL);
+
+ALTER TABLE KEYGENEJB
+  ADD CONSTRAINT PK_KEYGENEJB PRIMARY KEY (KEYNAME);
+
+CREATE TABLE ACCOUNTEJB
+  (CREATIONDATE DATE NULL,
+   OPENBALANCE DECIMAL(14, 2) NULL,
+   LOGOUTCOUNT INTEGER NOT NULL,
+   BALANCE DECIMAL(14, 2) NULL,
+   ACCOUNTID INTEGER NOT NULL,
+   LASTLOGIN DATE NULL,
+   LOGINCOUNT INTEGER NOT NULL,
+   PROFILE_USERID VARCHAR2(250) NULL);
+
+ALTER TABLE ACCOUNTEJB
+  ADD CONSTRAINT PK_ACCOUNTEJB PRIMARY KEY (ACCOUNTID);
+
+CREATE TABLE ORDEREJB
+  (ORDERFEE DECIMAL(14, 2) NULL,
+   COMPLETIONDATE DATE NULL,
+   ORDERTYPE VARCHAR2(250) NULL,
+   ORDERSTATUS VARCHAR2(250) NULL,
+   PRICE DECIMAL(14, 2) NULL,
+   QUANTITY NUMBER NOT NULL,
+   OPENDATE DATE NULL,
+   ORDERID INTEGER NOT NULL,
+   ACCOUNT_ACCOUNTID INTEGER NULL,
+   QUOTE_SYMBOL VARCHAR2(250) NULL,
+   HOLDING_HOLDINGID INTEGER NULL);
+
+ALTER TABLE ORDEREJB
+  ADD CONSTRAINT PK_ORDEREJB PRIMARY KEY (ORDERID);
+
+CREATE INDEX ACCOUNT_USERID ON ACCOUNTEJB(PROFILE_USERID);
+CREATE INDEX HOLDING_ACCOUNTID ON HOLDINGEJB(ACCOUNT_ACCOUNTID);
+CREATE INDEX ORDER_ACCOUNTID ON ORDEREJB(ACCOUNT_ACCOUNTID);
+CREATE INDEX ORDER_HOLDINGID ON ORDEREJB(HOLDING_HOLDINGID);
+CREATE INDEX CLOSED_ORDERS ON ORDEREJB(ACCOUNT_ACCOUNTID,ORDERSTATUS);

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/other/Table.ddl
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/other/Table.ddl?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/other/Table.ddl (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/dbscripts/other/Table.ddl Fri Aug 28 19:52:10 2009
@@ -0,0 +1,107 @@
+##    Licensed to the Apache Software Foundation (ASF) under one or more
+##    contributor license agreements.  See the NOTICE file distributed with
+##    this work for additional information regarding copyright ownership.
+##    The ASF licenses this file to You 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.
+
+# Each SQL statement in this file should terminate with a semicolon (;)
+# Lines starting with the pound character (#) are considered as comments
+DROP TABLE HOLDINGEJB;
+DROP TABLE ACCOUNTPROFILEEJB;
+DROP TABLE QUOTEEJB;
+DROP TABLE KEYGENEJB;
+DROP TABLE ACCOUNTEJB;
+DROP TABLE ORDEREJB;
+
+CREATE TABLE HOLDINGEJB
+  (PURCHASEPRICE DECIMAL(14, 2),
+   HOLDINGID INTEGER NOT NULL,
+   QUANTITY DOUBLE NOT NULL,
+   PURCHASEDATE TIMESTAMP,
+   ACCOUNT_ACCOUNTID INTEGER,
+   QUOTE_SYMBOL VARCHAR(250));
+
+ALTER TABLE HOLDINGEJB
+  ADD CONSTRAINT PK_HOLDINGEJB PRIMARY KEY (HOLDINGID);
+
+CREATE TABLE ACCOUNTPROFILEEJB
+  (ADDRESS VARCHAR(250),
+   PASSWD VARCHAR(250),
+   USERID VARCHAR(250) NOT NULL,
+   EMAIL VARCHAR(250),
+   CREDITCARD VARCHAR(250),
+   FULLNAME VARCHAR(250));
+
+ALTER TABLE ACCOUNTPROFILEEJB
+  ADD CONSTRAINT PK_ACCOUNTPROFILE2 PRIMARY KEY (USERID);
+
+CREATE TABLE QUOTEEJB
+  (LOW DECIMAL(14, 2),
+   OPEN1 DECIMAL(14, 2),
+   VOLUME DOUBLE NOT NULL,
+   PRICE DECIMAL(14, 2),
+   HIGH DECIMAL(14, 2),
+   COMPANYNAME VARCHAR(250),
+   SYMBOL VARCHAR(250) NOT NULL,
+   CHANGE1 DOUBLE NOT NULL);
+
+ALTER TABLE QUOTEEJB
+  ADD CONSTRAINT PK_QUOTEEJB PRIMARY KEY (SYMBOL);
+
+CREATE TABLE KEYGENEJB
+  (KEYVAL INTEGER NOT NULL,
+   KEYNAME VARCHAR(250) NOT NULL);
+
+ALTER TABLE KEYGENEJB
+  ADD CONSTRAINT PK_KEYGENEJB PRIMARY KEY (KEYNAME);
+
+CREATE TABLE ACCOUNTEJB
+  (CREATIONDATE TIMESTAMP,
+   OPENBALANCE DECIMAL(14, 2),
+   LOGOUTCOUNT INTEGER NOT NULL,
+   BALANCE DECIMAL(14, 2),
+   ACCOUNTID INTEGER NOT NULL,
+   LASTLOGIN TIMESTAMP,
+   LOGINCOUNT INTEGER NOT NULL,
+   PROFILE_USERID VARCHAR(250));
+
+ALTER TABLE ACCOUNTEJB
+  ADD CONSTRAINT PK_ACCOUNTEJB PRIMARY KEY (ACCOUNTID);
+
+CREATE TABLE ORDEREJB
+  (ORDERFEE DECIMAL(14, 2),
+   COMPLETIONDATE TIMESTAMP,
+   ORDERTYPE VARCHAR(250),
+   ORDERSTATUS VARCHAR(250),
+   PRICE DECIMAL(14, 2),
+   QUANTITY DOUBLE NOT NULL,
+   OPENDATE TIMESTAMP,
+   ORDERID INTEGER NOT NULL,
+   ACCOUNT_ACCOUNTID INTEGER,
+   QUOTE_SYMBOL VARCHAR(250),
+   HOLDING_HOLDINGID INTEGER);
+
+ALTER TABLE ORDEREJB
+  ADD CONSTRAINT PK_ORDEREJB PRIMARY KEY (ORDERID);
+
+ALTER TABLE HOLDINGEJB VOLATILE;
+ALTER TABLE ACCOUNTPROFILEEJB VOLATILE;
+ALTER TABLE QUOTEEJB VOLATILE;
+ALTER TABLE KEYGENEJB VOLATILE;
+ALTER TABLE ACCOUNTEJB VOLATILE;
+ALTER TABLE ORDEREJB VOLATILE;
+
+CREATE INDEX ACCOUNT_USERID ON ACCOUNTEJB(PROFILE_USERID);
+CREATE INDEX HOLDING_ACCOUNTID ON HOLDINGEJB(ACCOUNT_ACCOUNTID);
+CREATE INDEX ORDER_ACCOUNTID ON ORDEREJB(ACCOUNT_ACCOUNTID);
+CREATE INDEX ORDER_HOLDINGID ON ORDEREJB(HOLDING_HOLDINGID);
+CREATE INDEX CLOSED_ORDERS ON ORDEREJB(ACCOUNT_ACCOUNTID,ORDERSTATUS);

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/displayQuote.jsp
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/displayQuote.jsp?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/displayQuote.jsp (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/displayQuote.jsp Fri Aug 28 19:52:10 2009
@@ -0,0 +1,53 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<%@ page
+	import="java.math.BigDecimal, org.apache.geronimo.samples.daytrader.*, org.apache.geronimo.samples.daytrader.util.*, org.apache.geronimo.samples.daytrader.soap.*"
+	session="true" isThreadSafe="true" isErrorPage="false"%>
+<% 
+    String symbol = request.getParameter("symbol");
+    TradeServices tAction=null;
+	if(TradeConfig.getAccessMode() == TradeConfig.STANDARD)
+		tAction = new TradeAction();
+	else if(TradeConfig.getAccessMode() == TradeConfig.WEBSERVICES)
+		tAction = new TradeWebSoapProxy();   
+	try { 
+		QuoteDataBean quoteData = tAction.getQuote(symbol);
+
+ %>
+<TR align="center" bgcolor="#fafcb6">
+	<TD><%= FinancialUtils.printQuoteLink(quoteData.getSymbol()) %></TD>
+	<TD><%= quoteData.getCompanyName()%></TD>
+	<TD><%= quoteData.getVolume()%></TD>
+	<TD><%= quoteData.getLow() + " - " + quoteData.getHigh()%></TD>
+	<TD nowrap><%= quoteData.getOpen()%></TD>
+	<TD>$ <%= quoteData.getPrice()%></TD>
+	<TD><%= FinancialUtils.printGainHTML(new BigDecimal(quoteData.getChange())) %>
+	<%= FinancialUtils.printGainPercentHTML( FinancialUtils.computeGainPercent(quoteData.getPrice(), quoteData.getOpen())) %></TD>
+	<TD>
+	<FORM action=""><INPUT type="submit" name="action" value="buy"><INPUT
+		type="hidden" name="symbol" value="<%= quoteData.getSymbol()%>"><INPUT
+		size="4" type="text" name="quantity" value="100"></FORM>
+	</TD>
+</TR>
+
+<%
+	}
+	catch (Exception e)
+	{
+		Log.error("displayQuote.jsp  exception", e);
+	}
+%>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/displayQuote.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/benchmarking.html
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/benchmarking.html?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/benchmarking.html (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/benchmarking.html Fri Aug 28 19:52:10 2009
@@ -0,0 +1,68 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You 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.
+-->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- Sample HTML file -->
+
+<HTML>
+<HEAD>
+<META http-equiv="Content-Style-Type" content="text/css">
+<TITLE>Benchmarking Details</TITLE>
+</HEAD>
+
+<BODY BGCOLOR="#FFFFFF">
+<HR>
+<TABLE width="100%">
+  <TBODY>
+    <TR>
+      <TD>
+      <H3><FONT face="Times New Roman">Benchmarking</FONT></H3>
+      </TD>
+    </TR>
+  </TBODY>
+</TABLE>
+<HR>
+<P>DayTrader provides two servlets to create a workload for benchmarking: TradeApp servlet and TradeScenario servlet. 
+In either case, the load generation tool used to drive the Trade workload must provide cookie support to handle
+HTTP sessions.</P>
+<P><B>TradeApp servlet</B> provides the standard web interface and
+can be accessed with the <A href="/daytrader/welcome.jsp">Go Trade!</A> link. Driving benchmark load using this
+interface requires a sophisticated web load
+generator that is capable of filling HTML
+forms and posting dynamic data.</P>
+<P><B>TradeScenario servlet</B> emulates a population of web users by generating
+a specific Trade operation for a randomly
+chosen user on each access to the URL. Test
+this servlet by clicking <A href="/daytrader/scenario">Trade Scenario</A> and hit &quot;Reload&quot; on your browser to step through a Trade Scenario.
+To benchmark using this URL aim your favorite web load generator at the
+Trade Scenario URL and fire away.</P>
+<P>There is a drawback to using the Trade Scenario
+servlet to drive the workload versus using a series of more complicated
+load scripts. As previously mentioned, the scenario
+servlet is responsible for managing clients and emulating user
+operations by dispatching simple client requests to complex Trade
+actions. This causes the application server to spend a large percentage 
+of time performing work that would typically be handled by a client or 
+a more complex load driver. Consequently, performance numbers are 
+artificially deflated when using Trade Scenario servlet as compared to 
+driving the  workload directly.</P>
+
+
+<H3><FONT face="Times New Roman">Web Primitive Benchmarking</FONT></H3>
+<P>A set of automated <A href="/daytrader/web_prmtv.html">Web Primitives</A> is also provided. The web primitives leverage the DayTrader infrastructure to test specific features of the web application development environment. This provides basic workloads for servlets, JSPs, EJBs, MDBs and more. The Web Primitives are installed automatically with the daytrader configuration archive. <BR>
+</P>
+<HR>
+</BODY>
+</HTML>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/benchmarking.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/benchmarking.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/documentation.html
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/documentation.html?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/documentation.html (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/documentation.html Fri Aug 28 19:52:10 2009
@@ -0,0 +1,68 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You 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.
+-->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- Sample HTML file -->
+
+<HTML>
+<HEAD>
+
+<META name="GENERATOR" content="IBM WebSphere Page Designer V3.5.1 for Windows">
+<META http-equiv="Content-Style-Type" content="text/css"><TITLE>Technical Documentation</TITLE>
+</HEAD>
+
+<BODY BGCOLOR="#FFFFFF">
+<HR>
+<TABLE width="100%">
+  <TBODY>
+    <TR>
+      <TD>
+      <H3><FONT face="Times New Roman">Technical Documentation</FONT></H3>
+      </TD>
+      <TD align="right"><IMG border="0" src="../images/WEBSPHERE_18P_UNIX.GIF"></TD>
+    </TR>
+  </TBODY>
+</TABLE>
+<HR>
+<HR>
+<P>Documents below provide documentation on Trade application design, runtime
+characteristics and FAQs.</P>
+<BLOCKQUOTE>
+<TABLE border="1" cellpadding="10" cellspacing="5">
+  <TBODY>
+    <TR>
+      <TD align="center"><A href="tradeTech.pdf">Trade Technical Overview</A></TD>
+      <TD><FONT face="Times New Roman">Provides an overview of the Trade application design, configuration, and usage</FONT></TD>
+    </TR>
+    <TR>
+      <TD align="center"><A href="tradeUML.pdf">Trade UML Diagrams</A></TD>
+      <TD><FONT face="Times New Roman">UML diagrams showing application architecture</FONT></TD>
+    </TR>
+    <TR>
+      <TD align="center"><A href="tradeFAQ.html">FAQ</A></TD>
+      <TD>Frequently Asked Questions</TD>
+    </TR>
+    <TR>
+      <TD align="center"><A href="rtCharacterisitics.html">Runtime and Database <BR>
+      Usage Characteristics</A></TD>
+      <TD>Details runtime characteristics and database operations</TD>
+    </TR>
+    
+  </TBODY>
+</TABLE>
+</BLOCKQUOTE>
+<HR>
+</BODY>
+</HTML>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/documentation.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/documentation.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/glossary.html
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/glossary.html?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/glossary.html (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/glossary.html Fri Aug 28 19:52:10 2009
@@ -0,0 +1,99 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You 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.
+-->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- Sample HTML file -->
+
+<HTML>
+<HEAD>
+
+<META name="GENERATOR" content="IBM WebSphere Page Designer V3.5.1 for Windows">
+<META http-equiv="Content-Style-Type" content="text/css"><TITLE>Technical Documentation</TITLE>
+</HEAD>
+
+<BODY BGCOLOR="#FFFFFF">
+<HR>
+<TABLE width="100%">
+  <TBODY>
+    <TR>
+      <TD>
+      <H3><FONT face="Times New Roman">Trade Glossary and Terms</FONT></H3>
+      </TD>
+      <TD align="right"></TD>
+    </TR>
+  </TBODY>
+</TABLE>
+<HR>
+<HR>
+<UL>
+	<LI><B><FONT color="#0000a0">account ID</FONT></B> - A unique Integer based key. Each user is assigned an account ID at account creation time.<BR></LI>
+	<LI><B><FONT color="#0000a0">account Created</FONT></B> - The time and date the users account was first created.<BR></LI>
+	<LI><B><FONT color="#0000a0">cash balance</FONT></B> - The current cash balance in the users account. This does not include current stock holdings.<BR></LI>
+	<LI><B><FONT color="#0000a0">company</FONT></B> - The full company name for an individual stock.<BR>
+	</LI>
+	<LI><B><FONT color="#0000a0">current gain/loss</FONT></B> - The total gain or loss of this account, computed by substracting the current sum of cash/holdings minus the opening account balance.<BR></LI>
+	<LI><B><FONT color="#0000a0">current price</FONT></B> - The current trading price for a given stock symbol.<BR>
+	</LI>
+	
+	<LI><B><FONT color="#0000a0">gain/loss</FONT></B> - The current gain or loss of an individual stock holding, computed as (current market value - holding basis).<BR>
+	</LI>
+	<LI><B><FONT color="#0000a0">last login</FONT></B> - The date and time this user last logged in to Trade.<BR></LI>
+	<LI><B><FONT color="#0000a0">market value</FONT></B> - The current total value of a stock holding, computed as (quantity * current price).<BR>
+	</LI>
+	
+	
+	<LI><B><FONT color="#0000a0">number of holdings</FONT></B> - The total number of stocks currently owned by this account.<BR></LI>
+	<LI><B><FONT color="#0000a0">open price</FONT></B> - The price of a given stock at the open of the trading session.<BR>
+	</LI>
+	<LI><B><FONT color="#0000a0">opening balance</FONT></B> - The initial cash balance in this account when it was opened.<BR></LI>
+	<LI><B><FONT color="#0000a0">order id</FONT></B> - A unique Integer based key. Each order is assigned an order ID at order creation time.<BR></LI>
+	<LI><B><FONT color="#0000a0">order status</FONT></B> - orders are opened, processed, closed and completed. Order status shows the current stat for this order.<BR></LI>
+	<LI><B><FONT color="#0000a0">price range</FONT></B> - The low and high prices for this stock during the current trading session<BR>
+	</LI>
+	<LI><B><FONT color="#0000a0">purchase date</FONT></B> - The date and time the a stock was purchased.<BR></LI>
+	<LI><B><FONT color="#0000a0">purchase price</FONT></B> - The price used when purchasing the stock.<BR></LI>
+	<LI><B><FONT color="#0000a0">purchase basis</FONT></B> - The total cost to purchase this holding. This is computed as (quantity * purchase price).<BR>
+	</LI>
+	
+	<LI><B><FONT color="#0000a0">quantity</FONT></B> - The number of stock shares in the order or user holding.<BR>
+	</LI>
+	
+	<LI><B><FONT color="#0000a0">session created</FONT></B> - An HTTP session is created for each user at during login. Session created shows the time and day when the session was created.<BR></LI>
+	<LI><B><FONT color="#0000a0">sum of cash/holdings</FONT></B> - The total current value of this account. This is the sum of the cash balance along with the value of current stock holdings.<BR></LI>
+	<LI><B><FONT color="#0000a0">symbol</FONT></B> - The symbol for a Trade stock.<BR>
+	</LI>
+	<LI><B><FONT color="#0000a0">total logins</FONT></B> - The total number of logins performed by this user since the last Trade Reset.<BR></LI>
+	<LI><B><FONT color="#0000a0">total logouts</FONT></B> - The total number of logouts performed by this user since the last Trade Reset.<BR>
+	</LI>
+	
+	<LI><B><FONT color="#0000a0">total of holdings</FONT></B> - The current total value of all stock holdings in this account given the current valuation of each stock held.<BR></LI>
+	<LI><B><FONT color="#0000a0">Top gainers</FONT></B> - The list of stock gaining the most in price during the current trading session.<BR></LI>
+	<LI><B><FONT color="#0000a0">Top losers</FONT></B> - The list of stock falling the most in price during the current trading session.<BR>
+	</LI>
+	<LI><B><FONT color="#0000a0">Trade Stock Index (TSIA)</FONT></B> - A computed index of the top 20 stocks in Trade. <BR></LI>
+	<LI><B><FONT color="#0000a0">Trading Volume</FONT></B> - The total number of shares traded for all stocks during this trading session.<BR>
+	</LI>
+	<LI><B><FONT color="#0000a0">txn fee</FONT></B> - The fee charged by the brokerage to process this order.<BR></LI>
+	<LI><B><FONT color="#0000a0">type</FONT></B> - The order type (buy or sell).<BR>
+	</LI>
+	
+	<LI><B><FONT color="#0000a0">user ID</FONT></B> - The unique user ID for the account chosen by the user at account registration.<BR></LI>
+	<LI><B><FONT color="#0000a0">volume</FONT></B> - The total number of shares traded for this stock.</LI>
+	
+</UL>
+
+<HR>
+</BODY>
+</HTML>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/glossary.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/glossary.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/rtCharacterisitics.html
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/rtCharacterisitics.html?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/rtCharacterisitics.html (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/rtCharacterisitics.html Fri Aug 28 19:52:10 2009
@@ -0,0 +1,159 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You 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.
+-->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- Sample HTML file -->
+
+<HTML>
+<HEAD>
+
+<META name="GENERATOR" content="IBM WebSphere Page Designer V3.5.1 for Windows">
+<META http-equiv="Content-Style-Type" content="text/css"><TITLE>Trade Runtime and Database Usage Characteristics</TITLE>
+</HEAD>
+
+<BODY BGCOLOR="#FFFFFF">
+<HR>
+<TABLE width="100%">
+  <TBODY>
+    <TR>
+      <TD><B><FONT face="Times New Roman">Trade Runtime and Database Usage Characteristics</FONT></B></TD>
+      <TD align="right"><IMG border="0" src="../images/WEBSPHERE_18P_UNIX.GIF"></TD>
+    </TR>
+  </TBODY>
+</TABLE>
+<P>The table below details each of the high level user operations in the Trade
+application.<BR>
+</P>
+<UL>
+  <LI>Description - a short description of the user operation
+  <LI>Complexity - the J2EE components invoked to complete the operation
+  <LI>HTTP Session - operations on HTTP Session objects
+  <LI>DB Activity - <B><FONT color="#004080">C</FONT></B>reate, <FONT color="#004080"><B>R</B></FONT>ead, <B><FONT color="#004080">RC</FONT> </B>Read Collection, <B><FONT color="#004080">U</FONT></B>pdate, and <B><FONT color="#004080">D</FONT></B>elete operations on database tables
+</UL>
+<TABLE border="1">
+  
+    <TR>
+      <TD bgcolor="#003399"><B><FONT color="#FFFFFF">Trade Action</FONT></B></TD>
+      <TD bgcolor="#003399"><B><FONT color="#FFFFFF">Description</FONT></B></TD>
+      <TD bgcolor="#003399"><B><FONT color="#FFFFFF">Complexity</FONT></B></TD>
+      <TD bgcolor="#003399"><B><FONT color="#FFFFFF">HTTP Session</FONT></B></TD>
+      <TD bgcolor="#003399" width="91"><B><FONT color="#FFFFFF">DB Activity <BR>
+      (C, R, U, D)</FONT></B></TD>
+    
+    <TR>
+    <TD>Login</TD>
+    <TD>User sign in, session creation, market summary</TD>
+    <TD>Servlet, JSP, <BR>
+      Session EJB <BR>
+      CMP Beans Read, Update, Collections</TD>
+    <TD>Create, Update</TD>
+      <TD width="91">Account: <B><FONT color="#004080">R, U</FONT></B> <BR>
+      AccountProfile: <B><FONT color="#004080">R</FONT><BR>
+		</B>Quote: <B><FONT color="#004080">RC *3</FONT></B></TD>
+    
+    <TR>
+    <TD>Logout</TD>
+    <TD>Use sign-off, session destroy</TD>
+    <TD>Servlet, JSP, <BR>
+      Session EJB <BR>
+      CMP Bean Read, Update</TD>
+    <TD>Read, Destroy</TD>
+      <TD width="91">Account: <B><FONT color="#004080">R, U</FONT></B> <BR>
+      AccountProfile: <B><FONT color="#004080">R</FONT></B></TD>
+      
+    <TR>
+    <TD>Buy</TD>
+    <TD>Quote followed buy a security purchase</TD>
+    <TD>Servlet, JSP, <BR>
+      Session EJB<BR>
+		<B>Message Driven Beans</B> (Queue and Pub/Sub)<BR>
+      Multi CMP Read/Update</TD>
+    <TD>Read</TD>
+      <TD width="91">Quote: <FONT color="#004080"><B>R</B> </FONT><BR>
+      Account: <B><FONT color="#004080">R, U </FONT></B><BR>
+      Holding:<B> <FONT color="#004080">C, R, U</FONT></B><BR>Orders: <B><FONT color="#004080">C, R, U</FONT></B>
+		</TD>
+    
+    <TR>
+    <TD>Sell</TD>
+    <TD>Portfolio followed by the sell of a holding</TD>
+    <TD>Servlet, JSP, <BR>
+      Session EJB <BR>
+		<B>Message Driven Beans</B> (Queue and Pub/Sub)<BR>Multi CMP Read/Update</TD>
+    <TD>Read</TD>
+      <TD width="91">Quote: <FONT color="#004080"><B>R</B> </FONT><BR>
+      Account: <B><FONT color="#004080">R, U</FONT></B><BR>
+      Holding: <B><FONT color="#004080">D, R</FONT></B><BR>Orders: <B><FONT color="#004080">R, U </FONT></B></TD>
+      
+    
+    <TR>
+    <TD>Register</TD>
+    <TD>Create a new user profile and account</TD>
+    <TD>Servlet, JSP, <BR>
+      Session EJB <BR>
+      CMP Bean Creates</TD>
+    <TD>Create, Update</TD>
+      <TD width="91">Account: <B><FONT color="#004080">C, R </FONT></B><BR>
+      AccountProfile: <B><FONT color="#004080">C </FONT></B></TD>
+    
+    <TR>
+    <TD>Home</TD>
+    <TD>Personalized home page including current market conditions in a detailed market summary</TD>
+    <TD>Servlet, JSP, <BR>
+      Session EJB <BR>
+      CMP Bean Read, Collections</TD>
+    <TD>Read</TD>
+      <TD width="91">Account: <B><FONT color="#004080">R</FONT></B><BR>AccountProfile: <B><FONT color="#004080">R</FONT></B><BR>Quote: <FONT color="#004080"><B>RC *3</B> </FONT></TD>
+    
+    <TR>
+    <TD>Account</TD>
+    <TD>Review current user account and profile information along with recent orders</TD>
+    <TD>Servlet, JSP, <BR>
+      Session EJB <BR>
+      CMP Bean Read, Collections</TD>
+    <TD>Read</TD>
+      <TD width="91">Account: <B><FONT color="#004080">R</FONT></B><BR>AccountProfile: <B><FONT color="#004080">R</FONT></B><BR>Orders: <B><FONT color="#004080">RC </FONT></B></TD>
+    
+    <TR>
+    <TD>Account Update</TD>
+    <TD>Account followed by user profile update  </TD>
+    <TD>Servlet, JSP, <BR>
+      Session EJB <BR>
+      CMP Bean Read/Update, Collections</TD>
+    <TD>Read</TD>
+      <TD width="91">Account: <FONT color="#004080"><B>R</B></FONT><BR>AccountProfile: <B><FONT color="#004080">R, U</FONT></B><BR>Orders: <FONT color="#004080"><B>RC</B></FONT>Quote:   <FONT color="#004080"><B>RC</B></FONT></TD>
+    
+    <TR>
+    <TD>Portfolio</TD>
+    <TD>View users current security  holdings</TD>
+    <TD>Servlet, JSP, <BR>
+      Session EJB <BR>
+      CMP Bean Read, Collections</TD>
+    <TD>Read</TD>
+      <TD width="91">Holding:  <B><FONT color="#004080">RC</FONT></B><BR>
+		Quote:  <B><FONT color="#004080">RC</FONT></B></TD>
+    
+    <TR>
+    <TD>Quotes</TD>
+    <TD>View an arbirtray list of current security quotes</TD>
+    <TD>Servlet, JSP <BR>
+      Cached CMP Bean Read, Collections</TD>
+    <TD>Read</TD>
+      <TD width="91">Quote: <B><FONT color="#004080">RC</FONT></B></TD>    
+  
+</TABLE>
+<HR>
+</BODY>
+</HTML>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/rtCharacterisitics.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/rtCharacterisitics.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeFAQ.html
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeFAQ.html?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeFAQ.html (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeFAQ.html Fri Aug 28 19:52:10 2009
@@ -0,0 +1,196 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You 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.
+-->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- Sample HTML file -->
+
+<HTML>
+<HEAD>
+<META http-equiv="Content-Style-Type" content="text/css">
+<TITLE>Frequently Asked Questions</TITLE>
+</HEAD>
+
+<BODY BGCOLOR="#FFFFFF">
+<HR>
+<TABLE width="100%">
+  <TBODY>
+    <TR>
+      <TD>
+      <H3><FONT face="Times New Roman">Frequently Asked Questions</FONT></H3>
+      </TD>
+      <TD align="right"></TD>
+    </TR>
+  </TBODY>
+</TABLE>
+
+<P>The Apache Software Foundation<SUP>&reg;</SUP> DayTrader Performance Benchmark Sample
+provides a suite of workloads for characterizing performance of J2EE 1.4 Application 
+Servers. The workloads consist of an end-to-end Web application and a full set of Web
+primitives. The applications are a collection of Java<SUP>TM</SUP> classes, Java servlets,
+Java ServerPages<SUP>TM</SUP> (JSP<SUP>TM</SUP>) files and Enterprise JavaBeans<SUP>TM</SUP> (EJB<SUP>TM</SUP>) built to open Java 2 Platform, Enterprise Edition (J2EE<SUP>TM</SUP>) APIs. Together, the Trade application and Web primitives provide versatile and portable test cases that are designed to measure aspects
+of scalability and performance.</P><HR>
+
+<P><FONT size="+1" color="#000099"><B>Application Design</B></FONT></P>
+
+<P><B>What is DayTrader?</B></P>
+<P>DayTrader is an end-to-end Web application that is modeled after an on-line stock brokerage.
+DayTrader leverages J2EE components such as servlets, JSP files, enterprise beans, 
+message-driven beans (MDBs) and Java database connectivity (JDBC<SUP>TM</SUP>) to
+provide a set of user services such as login/logout, stock quotes, buy,
+sell, account details, and so on through  standards-based HTTP and Web services protocols.</P>
+
+<P><B>What are Web Primitives?</B></P>
+<P>The Web primitives leverage the DayTrader infrastructure to test specific features
+of the Application Servers implementing the J2EE 1.4 programming model. A description of each of the Web 
+primitives is provided on the <A href="../web_prmtv.html">main web primitive 
+page</A>.</P>
+
+
+<P><B>What software is required to run DayTrader?</B></P>
+<UL>
+    <LI>Any J2EE 1.4 Compliant Application Server</LI>
+    <LI>A database that has a suitable JDBC driver for both XA and non-XA connectivity.</LI>
+</UL>
+
+<P><B>What are the most common configuration scenarios?</B><UL>
+    <LI><B><B>Single server with a remote database</B></B> - The DayTrader application runs on a stand alone WebSphere Application Server instance. The required database software and the associated Trade database are located on a different system from the Application Server. The Application Server system must have the necessary database client software to connect to the remote database. <B></B></LI>
+	<LI><B>Single server with a local database</B> - Same as the previous scenario; however, the required database software and the 
+	associated DayTrader database are located on the same system as the Application Server.</LI>
+</UL>
+
+
+<HR>
+<P><FONT size="+1" color="#000099"><FONT color="#000099"><B>Run-time Configuration</B></FONT></FONT></P>
+
+<P><B>What does the ResetDayTrader link do?</B></P>
+<P>The ResetDayTrader link on the configuration page must be clicked between DayTrader runs. 
+This link sets the database to a consistent size by removing all the newly registered users created during 
+a DayTrader run. The reset also sets all outstanding orders to a consistent state. Resetting the database 
+to a consistent size ensures repeatable throughput on subsequent DayTrader runs. </P>
+
+<P><B>How are the DayTrader configuration parameters modified?</B></P>
+<P>The Trade <A HREF="../config">configuration page</A> provides a dynamic mechanism to set
+the run-time configuration for a DayTrader run. These settings control the application
+run-time characteristics such as the run-time mode, the order processing mode, and other run-time 
+variations supported in DayTrader. All settings are reset to defaults when the DayTrader application 
+server is restarted.</P>
+
+<P><B>Can you make configuration changes permanent?</B></P>
+<P>Yes. Normally, Trade configuration parameters return to defaults whenever the Trade application 
+server is restarted. Settings can be made permanent by setting the configuration values in the 
+servlet init parameters of the TradeApp servlet and the TradeScenario servlet. Modify the 
+servlet init parameters in the web.xml file of the Trade Web application to change these parameters.</P>
+
+<P><B>What are the run-time modes?</B></P>
+<P>DayTrader provides two server implementations of the emulated DayTrader brokerage services.</P>
+<UL>
+    <LI><B>EJB</B> - Database access uses EJB 2.1 technology to drive transactional trading operations.</LI>
+    <LI><B>Direct</B> - This mode uses database and messaging access through direct JDBC and JMS code.</LI>
+</UL>
+
+<P><B>What are the order processing modes?</B></P>
+<P>DayTrader provides an asynchronous order processing mode through messaging with MDBs. The order 
+processing mode determines the mode for completing stock purchase and sell operations. Synchronous 
+mode completes the order immediately. Asynchronous mode uses MDB and JMS to queue the order to a 
+TradeBroker agent to complete the order. Asychronous_2-Phase performs a two-phase commit over the EJB 
+database and messaging transactions.</P>
+<UL>   
+	<LI><B>Synchronous</B> - Orders are completed immediately by the DayTrader session enterprise bean and entity enterprise beans.</LI>
+	<LI><B>Asynchronous 2-phase</B> - Orders are queued to the TradeBrokerMDB for asynchronous processing.</LI>
+</UL>
+
+<P><B>What are the access modes?</B></P>
+<P>DayTrader provides multiple access modes to the server-side brokerage services.</P>
+<UL>
+	
+	<LI><B>Standard</B> - Servlets access the Trade enterprise beans through the standard RMI protocol</LI>   
+	<LI><B>WebServices</B> - Servlets access DayTrader services through the Web services implementation in 
+    the System Under Test (SUT). Each trading service is available as a standard Web service through the SOAP 
+    Remote Procedure Call (RPC) protocol. Because DayTrader is wrapped to provide SOAP services, each DayTrader
+    operation (login, quote, buy, and son on) is available as a SOAP service.</LI>
+	
+</UL>
+
+<P><B>What is the Primitive Iteration setting?</B></P>
+<P>By default, the DayTrader primitives run one operation per Web request. Setting this value alters
+the number of operations performed per client request. This is useful for reducing the amount of work
+that is performed by the Web Container and for stressing other components within the application server.
+
+</P>
+<HR>
+<P><FONT size="+1" color="#000099"><FONT color="#000099"><B>Benchmarking</B></FONT></FONT></P>
+
+<P><B>What is the TradeScenario servlet?</B></P>
+<P>The TradeScenario servlet provides a simple mechanism to drive the DayTrader application.
+The Trade database is initially populated with a set of fictitious users with names ranging 
+from <CODE>uid:0</CODE> to <CODE>uid:49</CODE> and a set of stocks ranging from <CODE>s:0</CODE> to <CODE>s:99</CODE>. 
+The TradeScenario servlet emulates a population of Web users by generating a specific DayTrader operation for
+a randomly chosen user on each access to the URL. To run the TradeScenario servlet  use the single 
+<A HREF="../scenario">TradeScenario URL</A> (http://<I>hostname</I>/daytrader/scenario) with a load generation tool.</P>
+
+<P>Although TradeScenario servlet provides a simple mechanism for driving the DayTrader application, 
+there is a drawback to using this method versus using a series of load generation scripts 
+that drive the operations directly. This servlet consumes processing resources on the server
+to manage incoming clients and dispatch these simple client requests to complex Trade actions. This
+action artificially decreases server throughput because the server is emulating tasks that are normally
+ performed by a standard client or a more complex load generation tool.</P>
+
+<P><B>What is the typical procedure for collecting performance measurements with DayTrader?</B>
+<P>When DayTrader is successfully installed on the application server and the supporting
+database is populated, you can us the DayTrader application to collect performance measurements.
+The following list provides the typical process for gathering performance measurements with DayTrader.</P>
+<OL>
+    <LI>Select the DayTrader run-time configuration parameters from the <A HREF="../config">configuration 
+    page</A> (EJB, synchronous, and so on).</LI>
+    <LI>Reset the DayTrader run-time using the <A HREF="../config?action=resetTrade">Reset DayTrader link</A>.</LI>
+    <LI>Warm-up the application server JVM<SUP>TM</SUP> by applying load for a short period of time. The load generation tool  
+    may access the TradeScenario servlet, 
+    web primitives, or use custom scripts to drive the various operations of TradeApp servlet. To warm-up the
+     JVM, each code path within DayTrader must be processed enough times to esnure that the JIT compiler
+     has compiled and optimzed the application and server paths; generally, about 3000 iterations should do the trick.
+     Remember that the same code path is not necessarily run on each request unless primitives are being 
+    run. Therefore, perform an adequate number of requests to stabilize the performance results.</LI>
+    <LI>Stop the load generation tool.</LI>
+    <LI>Reset the Trade run-time again</LI>
+    <LI>Restart the load generation tool and record measurements after the driver completes the requests.</LI>
+    <LI>Repeat steps 5 and 6 to obtain additional measurements.</LI>    
+</OL>
+
+<P><B>Where did DayTrader come from?</B>
+<P>DayTrader was originally an application designed by IBM to test their commercial Application Server.
+The application was designed around common development patterns as well as to use the majority of the 
+J2EE programming model.  The original author was Stan Cox where he developed Trade (the original name) 
+for J2EE 1.3.  Since then Stan has evolved Trade and several other individuals have contributed to the project.
+Christopher Blythe has been instrumental in stabilizing the long running capability of the benchmark and Andrew
+Spyker introduced the Application Clients.  The Application Clients (Streamer and WSAppClient) provide remote
+capability to validate remote J2EE functionality and database consistency as well as provide a remote 
+WebServices client.  Matt Hogstrom has used Trade extensively for performance analysis and brought Trade 
+to the Apache Software Foundation Geronimo Project.  He has removed (hopefully) all WebSphere specific items
+in the application and introduced additional functionality for gathering server compliance information 
+and low-level diagnostic information.</P>
+
+<P><B>Where is it going?</B>
+<P>Version 1.1 of DayTrader represents the first presentation of the application as an Open Source
+version for performance and benchmarking.  Currently it is focused on J2EE 1.4 but needs to be upgraded to 
+J2EE 1.5.  Also, as there is a large number of developers that are not interested in the full J2EE stack,
+DayTrader needs to be updated to be modular such that only the interesting pieces need to be deployed.</P>
+<P>Also, DayTrader needs to incorporate some additional technology such as Spring and Hibernate for 
+performance testing such that comparisons can be made against competing technologies.</P>
+
+
+<HR>
+
+</BODY>
+</HTML>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeFAQ.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeFAQ.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeversion.html
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeversion.html?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeversion.html (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeversion.html Fri Aug 28 19:52:10 2009
@@ -0,0 +1,24 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You 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.
+-->
+<HTML>
+<TITLE>DayTrader Version</TITLE>
+<BODY>
+DayTrader Performance Benchmark Sample - 2.0
+<BR>Date: 20070824
+<BR>Contact: <A href="mailto:hogstrom@apache.org?subject=Comments about DayTrader Version 2.0">hogstrom@apache.org</A>
+</BODY>
+</HTML>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeversion.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/docs/tradeversion.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/error.jsp
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/error.jsp?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/error.jsp (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/error.jsp Fri Aug 28 19:52:10 2009
@@ -0,0 +1,125 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<%@ page import="java.io.*" %>
+
+
+<TABLE width="740">
+  <TBODY>
+    <TR>
+			<TD bgcolor="#c93333" align="left" width="640" height="10"><B><FONT
+				color="#ffffff">DayTrader Error</FONT></B></TD>
+			<TD align="center" bgcolor="#000000" width="100" height="10"><FONT
+				color="#ffffff"><B>DayTrader</B></FONT></TD>
+        </TR>
+
+</TABLE>
+<DIV align="left"></DIV>
+<TABLE width="740">
+  <TBODY>
+    <TR>
+            <TD width="3"></TD>
+            <TD>
+      <HR>
+      </TD>
+            <TD width="3"></TD>
+        </TR>
+    <TR>
+            <TD bgcolor="#e7e4e7" rowspan="4" width="3"></TD>
+            <TD><B><FONT color="#000000">An Error has occured during DayTrader processing</FONT><FONT size="-2">.</FONT></B><BR>
+            The stack trace detailing the error follows.
+            <p><b>Please consult the application server error logs for further details.</b></p>
+            </TD>
+            <TD bgcolor="#e7e4e7" width="3" rowspan="4"></TD>
+        </TR>
+    <TR>
+            <TD><FONT size="-1">
+
+<%
+  String message = null;
+  int status_code = -1;
+  String exception_info = null;
+  String url = null;
+
+  try {
+    Exception theException = null;
+    Integer status = null;
+
+    //these attribute names are specified by Servlet 2.2
+    message = (String) request.getAttribute("javax.servlet.error.message");
+    status = ((Integer) request.getAttribute("javax.servlet.error.status_code"));
+    theException = (Exception) request.getAttribute("javax.servlet.error.exception");
+    url = (String) request.getAttribute("javax.servlet.error.request_uri");
+
+    // convert the stack trace to a string
+    StringWriter sw = new StringWriter();
+    PrintWriter pw = new PrintWriter(sw);
+    theException.printStackTrace(pw);
+    pw.flush();
+    pw.close();
+
+    if (message == null) {
+      message = "not available";
+    }
+
+    if (status == null) {
+      status_code = -1;             
+    }
+    else {
+      status_code = status.intValue();
+    }
+    if (theException == null) {
+      exception_info = "not available";
+    }
+    else {
+      exception_info = theException.toString();
+      exception_info = exception_info + "<br>" + sw.toString();
+      sw.close();
+    }
+  } catch (Exception e) {
+     e.printStackTrace();
+  }
+
+  out.println("<br><br><b>Processing request:</b>" +  url);      
+  out.println("<br><b>StatusCode:</b> " +  status_code);
+  out.println("<br><b>Message:</b>" + message);
+  out.println("<br><b>Exception:</b>" + exception_info);
+
+%>
+</FONT><FONT size="-1">
+     </FONT></TD>
+        </TR>
+    <TR>
+            <TD align="left"></TD>
+        </TR>
+    <TR>
+            <TD>
+      <HR>
+      </TD>
+        </TR>
+  </TBODY>
+</TABLE>
+<TABLE>
+  <TBODY>
+    <TR>
+			<TD bgcolor="#c93333" align="left" width="640" height="10"><B><FONT
+				color="#ffffff">DayTrader Error</FONT></B></TD>
+			<TD align="center" bgcolor="#000000" width="100" height="10"><FONT
+				color="#ffffff"><B>DayTrader</B></FONT></TD>
+        </TR>
+    </TBODY>
+</TABLE>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/error.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/footer.html
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/footer.html?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/footer.html (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/footer.html Fri Aug 28 19:52:10 2009
@@ -0,0 +1,41 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<html>
+<head>
+<title>daytrader2_matts_mods</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+</head>
+<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<!-- ImageReady Slices (daytrader2_matts_mods.psd - Slices: 00, about, bottomRedBar, configuration, copyRight, dayTraderLogo.gif, daytrader2_matts_mods_14, faq, home, primitives, reports, topRedBar, tradingAndPortfolios) -->
+<table id="Table_01" width="785" height="58" border="0" cellpadding="0" cellspacing="0">
+	<tr>
+		<td>
+			<table id="footer" width="784" height="58" border="0" cellpadding="0" cellspacing="0">
+				<tr>
+					<td>
+						<img src="images/bottomRedBar.gif" width="784" height="5" alt=""></td>
+				</tr>
+				<tr>
+					<td>
+						<img src="images/copyRight.gif" width="784" height="53" alt=""></td>
+				</tr>
+			</table></td>
+	</tr>
+</table>
+<!-- End ImageReady Slices -->
+</body>
+</html>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/footer.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/footer.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/header.html
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/header.html?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/header.html (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/header.html Fri Aug 28 19:52:10 2009
@@ -0,0 +1,96 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<html>
+<head>
+<title>DayTrader Header</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+</head>
+<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<!-- ImageReady Slices (daytrader2_matts_mods.psd - Slices: 00, about, bottomRedBar, configuration, copyRight, dayTraderLogo.gif, daytrader2_matts_mods_14, faq, home, primitives, reports, topRedBar, tradingAndPortfolios) -->
+<table id="Table_01" width="785" height="90" border="0" cellpadding="0" cellspacing="0">
+	<tr>
+		<td width="1" height="1" rowspan="3">
+			<img src="images/spacer.gif" width="1" height="1" alt=""></td>
+		<td>
+			<table id="header" width="784" height="89" border="0" cellpadding="0" cellspacing="0">
+				<tr>
+					<td colspan="4">
+						<img src="images/dayTraderLogo.gif" width="319" height="53" alt=""></td>
+					<td width="465" height="53" colspan="6">
+						<img src="images/spacer.gif" width="465" height="53" alt=""></td>
+				</tr>
+				<tr>
+					<td>
+						<a href="contentHome.html" target="TradeMainContent"
+							onmouseover="window.status='Choose to see the DayTrader Architecture';  return true;"
+							onmouseout="window.status='';  return true;">
+							<img src="images/home.gif" width="92" height="29" border="0" alt=""></a></td>
+					<td width="1" height="29">
+						<img src="images/spacer.gif" width="1" height="29" alt=""></td>
+					<td>
+						<a href="app" target="TradeMainContent"
+							onmouseover="window.status='Select this tab to log on and trade portfolios.  Users are u:n and passwords are xxx';  return true;"
+							onmouseout="window.status='';  return true;">
+							<img src="images/tradingAndPortfolios.gif" width="140" height="29" border="0" alt=""></a></td>
+					<td colspan="2">
+						<a href="configure.html" target="TradeMainContent"
+							onmouseover="window.status='Allows for runtime configuration of DayTrader';  return true;"
+							onmouseout="window.status='';  return true;">
+							<img src="images/configuration.gif" width="91" height="29" border="0" alt=""></a></td>
+					<td>
+						<a href="web_prmtv.html" target="TradeMainContent"
+							onmouseover="window.status='Primitives used to test various J2EE and Server Features';  return true;"
+							onmouseout="window.status='';  return true;">
+							<img src="images/primitives.gif" width="78" height="29" border="0" alt=""></a></td>
+					<td>
+						<a href="docs/tradeFAQ.html" target="TradeMainContent">
+							<img src="images/faq.gif" width="86" height="29" border="0" alt=""></a></td>
+					<td width="96" height="29">
+						<img src="images/spacer.gif" width="96" height="29" alt=""></td>
+				</tr>
+				<tr>
+					<td colspan="10">
+						<img src="images/topRedBar.gif" width="784" height="6" alt=""></td>
+				</tr>
+				<tr>
+					<td>
+						<img src="images/spacer.gif" width="92" height="1" alt=""></td>
+					<td>
+						<img src="images/spacer.gif" width="1" height="1" alt=""></td>
+					<td>
+						<img src="images/spacer.gif" width="140" height="1" alt=""></td>
+					<td>
+						<img src="images/spacer.gif" width="86" height="1" alt=""></td>
+					<td>
+						<img src="images/spacer.gif" width="5" height="1" alt=""></td>
+					<td>
+						<img src="images/spacer.gif" width="77" height="1" alt=""></td>
+					<td>
+						<img src="images/spacer.gif" width="78" height="1" alt=""></td>
+					<td>
+						<img src="images/spacer.gif" width="86" height="1" alt=""></td>
+					<td>
+						<img src="images/spacer.gif" width="123" height="1" alt=""></td>
+					<td>
+						<img src="images/spacer.gif" width="96" height="1" alt=""></td>
+				</tr>
+			</table></td>
+	</tr>
+</table>
+<!-- End ImageReady Slices -->
+</body>
+</html>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/DayTraderHead_blue.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/DayTraderHead_blue.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/DayTraderHead_blue.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/DayTraderHead_red.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/DayTraderHead_red.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/DayTraderHead_red.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/SOAPconfig.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/SOAPconfig.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/SOAPconfig.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/about.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/about.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/about.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/account.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/account.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/account.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/arrowdown.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/arrowdown.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/arrowdown.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/arrowup.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/arrowup.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/arrowup.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/bottomRedBar.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/bottomRedBar.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/bottomRedBar.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/configuration.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/configuration.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/configuration.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/copyRight.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/copyRight.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/copyRight.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/dayTraderLogo.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/dayTraderLogo.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/dayTraderLogo.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/faq.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/faq.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/faq.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/graph.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/graph.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/graph.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/home.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/home.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/home.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/homeBanner.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/homeBanner.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/homeBanner.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/line.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/line.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/line.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/logout.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/logout.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/logout.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/lower_banner.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/lower_banner.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/lower_banner.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/menuHome.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/menuHome.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/menuHome.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/portfolio.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/portfolio.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/portfolio.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/primitives.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/primitives.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/primitives.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/quotes.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/quotes.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/quotes.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/reports.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/reports.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/reports.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/spacer.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/spacer.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/spacer.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/ticker-anim.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/ticker-anim.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/ticker-anim.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/topRedBar.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/topRedBar.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/topRedBar.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/topline.jpg
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/topline.jpg?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/topline.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/tradeOverview.png
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/tradeOverview.png?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/tradeOverview.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/tradingAndPortfolios.gif
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/tradingAndPortfolios.gif?rev=809008&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/images/tradingAndPortfolios.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/index.html?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/index.html (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/index.html Fri Aug 28 19:52:10 2009
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<HTML>
+<HEAD>
+<META http-equiv="Content-Style-Type" content="text/css">
+<TITLE>DayTrader</TITLE>
+</HEAD>
+<FRAMESET rows="90,*,58" cols="785" frameborder="0" framespacing="0" border="0">
+	<FRAME src="./header.html" scrolling="NO" name="TradeFrameTop" noresize>
+	<FRAME src="./contentHome.html" scrolling="AUTO" name="TradeMainContent" noresize>
+	<FRAME src="./footer.html" name="TradeFrameBottom" scrolling="NO" noresize>
+	<NOFRAMES>
+	<BODY>
+	<P>Need browser which supports frames to see this page</P>
+	</BODY>
+	</NOFRAMES>
+</FRAMESET>
+</HTML>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/leftMenu.html
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/leftMenu.html?rev=809008&view=auto
==============================================================================
--- geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/leftMenu.html (added)
+++ geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/leftMenu.html Fri Aug 28 19:52:10 2009
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<HTML>
+<HEAD>
+<META http-equiv="Content-Style-Type" content="text/css">
+<TITLE>Leftmenu</TITLE>
+<BASE target="_self">
+<LINK rel="stylesheet" href="style.css" type="text/css" />
+</HEAD>
+<BODY bgcolor="#f3f3f3" link="#000080" vlink="#000080">
+<HR width="130" size="1" align="center">
+<P align="center"><FONT size="-1"><A href="contentHome.html" target="TradeFrameMain"><FONT size="2"><BR>
+<BR>
+Overview</FONT></A></FONT></P>
+<!-- <P align="center"><FONT size="-1"><A href="docs/documentation.html" target="TradeFrameMain"><FONT size="2">Technical <BR> 
+Documentation</FONT></A></FONT></P> -->
+<P align="center"><FONT size="-1"><A href="docs/benchmarking.html" target="TradeFrameMain"><FONT size="2">Benchmarking</FONT></A></FONT></P>
+<P align="center"><FONT size="2"><A href="configure.html" target="TradeFrameMain">Configuration</A></FONT></P>
+<P align="center"><FONT size="-1"><A href="app" target="TradeFrameMain"><FONT size="2">Go Trade!</FONT></A></FONT></P>
+<P align="center"><FONT size="-1"><A href="web_prmtv.html" target="TradeFrameMain">Web Primitives</A></FONT></P>
+<HR width="130" size="1" align="center">
+<!-- <P align="center"><I><IMG src="images/DayTraderHead_red.gif" border="0" width="112" height="36"><BR>
+<BR>
+</I><B><IMG src="images/GLogo_450x50.gif" width="150" height="21" border="0"><BR>
+</B></P> 
+<HR width="130" size="1" align="center"> -->
+</BODY>
+</HTML>

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/leftMenu.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/trunk/assemblies/daytrader-web-ejb/src/main/webapp/leftMenu.html
------------------------------------------------------------------------------
    svn:mime-type = text/html