geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r328946 - in /geronimo/trunk/sandbox/daytrader: ./ modules/core/ modules/derby/ modules/derby/src/ modules/derby/src/plan/ modules/derby/src/sql/ modules/ear/ modules/ejb/ modules/ejb/src/META-INF/ modules/streamer/ modules/web/ modules/wsa...
Date Thu, 27 Oct 2005 20:40:36 GMT
Author: djencks
Date: Thu Oct 27 13:40:29 2005
New Revision: 328946

URL: http://svn.apache.org/viewcvs?rev=328946&view=rev
Log:
clean up maven usage, add derby module for deployment into geronimo

Added:
    geronimo/trunk/sandbox/daytrader/modules/derby/
    geronimo/trunk/sandbox/daytrader/modules/derby/maven.xml
    geronimo/trunk/sandbox/daytrader/modules/derby/project.properties
    geronimo/trunk/sandbox/daytrader/modules/derby/project.xml
    geronimo/trunk/sandbox/daytrader/modules/derby/src/
    geronimo/trunk/sandbox/daytrader/modules/derby/src/plan/
    geronimo/trunk/sandbox/daytrader/modules/derby/src/plan/daytrader-plan.xml
    geronimo/trunk/sandbox/daytrader/modules/derby/src/sql/
    geronimo/trunk/sandbox/daytrader/modules/derby/src/sql/Table.ddl
Modified:
    geronimo/trunk/sandbox/daytrader/maven.xml
    geronimo/trunk/sandbox/daytrader/modules/core/project.xml
    geronimo/trunk/sandbox/daytrader/modules/ear/project.xml
    geronimo/trunk/sandbox/daytrader/modules/ejb/project.xml
    geronimo/trunk/sandbox/daytrader/modules/ejb/src/META-INF/ejb-jar.xml
    geronimo/trunk/sandbox/daytrader/modules/streamer/project.xml
    geronimo/trunk/sandbox/daytrader/modules/web/project.xml
    geronimo/trunk/sandbox/daytrader/modules/wsappclient/project.xml
    geronimo/trunk/sandbox/daytrader/project.properties
    geronimo/trunk/sandbox/daytrader/project.xml

Modified: geronimo/trunk/sandbox/daytrader/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/maven.xml?rev=328946&r1=328945&r2=328946&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/maven.xml (original)
+++ geronimo/trunk/sandbox/daytrader/maven.xml Thu Oct 27 13:40:29 2005
@@ -1,110 +1,3 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" default="multiproject:build">
-  <goal name="multiproject:build">
-    <attainGoal name="multiproject:jar-install" />
-    <attainGoal name="multiproject:ejb-install" />
-    <attainGoal name="multiproject:streamer-install" />
-    <attainGoal name="multiproject:war-install" />
-    <attainGoal name="multiproject:ear" />
-  </goal>
-  <goal name="multiproject:clean">
-   <maven:reactor
-      basedir="."
-      banner="Cleaning"
-      includes="${maven.multiproject.includes}"
-      excludes="${maven.multiproject.excludes}"
-      postProcessing="true"
-      goals="clean"
-      ignoreFailures="${maven.multiproject.ignoreFailures}"
-    />
-  </goal>
-  
-  <goal name="multiproject:war">
-    <maven:reactor
-      basedir="."
-      banner="Creating WAR files"
-      includes="${maven.multiproject.war.includes}"
-      excludes="${maven.multiproject.war.excludes}"
-      postProcessing="true"
-      goals="war"
-      ignoreFailures="${maven.multiproject.ignoreFailures}"
-    />
-  </goal>
-  <goal name="multiproject:ear">
-    <maven:reactor
-      basedir="."
-      banner="Creating EAR files"
-      includes="${maven.multiproject.ear.includes}"
-      excludes="${maven.multiproject.ear.excludes}"
-      postProcessing="true"
-      goals="ear"
-      ignoreFailures="${maven.multiproject.ignoreFailures}"
-    />
-  </goal>
-  <goal name="multiproject:ejb">
-    <maven:reactor
-      basedir="."
-      banner="Creating EJB files"
-      includes="${maven.multiproject.ejb.includes}"
-      excludes="${maven.multiproject.ejb.excludes}"
-      postProcessing="true"
-      goals="war"
-      ignoreFailures="${maven.multiproject.ignoreFailures}"
-    />
-  </goal>
-    <goal name="multiproject:jar-install">
-    <maven:reactor
-      basedir="."
-      banner="Creating JARs"
-      includes="${maven.multiproject.jar.includes}"
-      excludes="${maven.multiproject.jar.excludes}"
-      postProcessing="true"
-      goals="jar:install"
-      ignoreFailures="${maven.multiproject.ignoreFailures}"
-    />
-    </goal>
-    <goal name="multiproject:streamer-install">
-    <maven:reactor
-      basedir="."
-      banner="Creating Streamer Application Client"
-      includes="${maven.multiproject.streamer.includes}"
-      excludes="${maven.multiproject.streamer.excludes}"
-      postProcessing="true"
-      goals="jar:install"
-      ignoreFailures="${maven.multiproject.ignoreFailures}"
-    />
-    </goal>
-  <goal name="multiproject:war-install">
-    <maven:reactor
-      basedir="."
-      banner="Installing WAR files"
-      includes="${maven.multiproject.war.includes}"
-      excludes="${maven.multiproject.war.excludes}"
-      postProcessing="true"
-      goals="war:install"
-      ignoreFailures="${maven.multiproject.ignoreFailures}"
-    />
-  </goal>
-  <goal name="multiproject:ejb-install">
-    <maven:reactor
-      basedir="."
-      banner="Installing EJB files"
-      includes="${maven.multiproject.ejb.includes}"
-      excludes="${maven.multiproject.ejb.excludes}"
-      postProcessing="true"
-      goals="ejb:install"
-      ignoreFailures="${maven.multiproject.ignoreFailures}"
-    />
-  </goal>
-  <goal name="multiproject:cactus">
-    <maven:reactor
-      basedir="."
-      banner="Testing EAR files"
-      includes="${maven.multiproject.ear.includes}"
-      excludes="${maven.multiproject.ear.excludes}"
-      postProcessing="false"
-      goals="cactus:test-ear"
-      ignoreFailures="${maven.multiproject.ignoreFailures}"
-    />
-  </goal>
+<project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" default="multiproject:install">
 </project>

Modified: geronimo/trunk/sandbox/daytrader/modules/core/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/core/project.xml?rev=328946&r1=328945&r2=328946&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/core/project.xml (original)
+++ geronimo/trunk/sandbox/daytrader/modules/core/project.xml Thu Oct 27 13:40:29 2005
@@ -5,7 +5,6 @@
   <pomVersion>3</pomVersion>
   <id>daytrader-core</id>
   <name>core</name>
-  <currentVersion>1.0-SNAPSHOT</currentVersion>
   <package>org.apache.geronimo.samples.daytrader</package>
   <description>Common files for day Trader</description>
   <dependencies>

Added: geronimo/trunk/sandbox/daytrader/modules/derby/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/derby/maven.xml?rev=328946&view=auto
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/derby/maven.xml (added)
+++ geronimo/trunk/sandbox/daytrader/modules/derby/maven.xml Thu Oct 27 13:40:29 2005
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Rev: 45928 $ $Date: 2004-09-11 17:03:39 -0700 (Sat, 11 Sep 2004) $ -->
+
+<project default="default"
+    xmlns:j="jelly:core"
+    xmlns:u="jelly:util"
+    xmlns:ant="jelly:ant"
+    xmlns:velocity="jelly:velocity"
+    xmlns:deploy="geronimo:deploy">
+
+    <goal name="default" prereqs="ear"/>
+    <goal name="build" prereqs="default"/>
+
+    <goal name="rebuild" prereqs="clean,build"/>
+
+    <goal name="filter">
+        <fileScanner var="plans">
+            <fileset dir="${basedir}/src/plan">
+                <include name="*-plan.xml"/>
+            </fileset>
+        </fileScanner>
+
+    </goal>
+
+    <goal name="site">
+        <ant:mkdir dir="target/docs"/>
+    </goal>
+
+    <goal name="initVars">
+        <j:set var="geronimo.home" value="${maven.build.dir}/geronimo-${geronimo_version}"/>
+    </goal>
+
+    <goal name="unpackServer" prereqs="initVars">
+        <deploy:unpackServer geronimoVersion="${geronimo_version}"/>
+        <j:set var="derby.system.home" value="${geronimo.home}/var/derby"/>
+        
+        <!-- setup the lame system properties that derby needs -->
+        <j:invokeStatic className="java.lang.System" method="setProperty">
+            <j:arg type="java.lang.String" value="derby.system.home"/>
+            <j:arg type="java.lang.String" value="${derby.system.home}"/>
+        </j:invokeStatic>
+        <j:invokeStatic className="java.lang.System" method="setProperty">
+            <j:arg type="java.lang.String" value="derby.storage.fileSyncTransactionLog"/>
+            <j:arg type="java.lang.String" value="true"/>
+        </j:invokeStatic>
+        <ant:sql driver="org.apache.derby.jdbc.EmbeddedDriver"
+            url="jdbc:derby:tradedb;create=true"            
+            userid="" password=""
+            autocommit="true"
+            onerror="abort"  
+            delimiter=";">   
+            <ant:fileset dir="src/sql"/>
+            <ant:classpath>
+                <ant:pathelement location="${maven.repo.local}/org.apache.derby/jars/derby-${derby_version}.jar"/>
+            </ant:classpath>
+        </ant:sql>
+    </goal>
+
+    <goal name="startServer" prereqs="initVars">
+
+        <deploy:startRemoteServer
+            geronimoTarget="${maven.build.dir}/geronimo-${geronimo_version}"
+            vmArgs="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -Xmx512m ${geronimo.corba.options} ${geronimo.ssl.options}"
+            />
+        <ant:echo message="Waiting for server at: ${maven.build.dir}/geronimo-${geronimo_version}"/>
+        <u:sleep millis="60000"/>
+        <deploy:waitForStarted
+            uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector"
+            username="system"
+            password="manager"
+            maxtries="125"
+            id="org/apache/geronimo/JettyDeployer"/>
+        <echo message="runtime deployer has started"/>
+        <u:sleep millis="7000"/>
+    </goal>
+    <goal name="deployDaytrader">
+        <deploy:distribute
+            uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector"
+            username="system"
+            password="manager"
+            module="${maven.repo.local}/daytrader/ears/daytrader-ear-${geronimo_version}.ear"
+            plan="${basedir}/src/plan/daytrader-plan.xml"/>
+    </goal>
+    <goal name="startDaytrader">
+        <deploy:start
+            uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector"
+            username="system"
+            password="manager"
+            id="${pom.groupId}/cars/${pom.artifactId}-${pom.currentVersion}.car"/>
+    </goal>
+    <goal name="stopDaytrader">
+        <deploy:stop
+            uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector"
+            username="system"
+            password="manager"
+            id="${pom.groupId}/cars/${pom.artifactId}-${pom.currentVersion}.car"/>
+    </goal>
+    <goal name="undeployDaytrader">
+        <deploy:undeploy
+            uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector"
+            username="system"
+            password="manager"
+            id="${pom.groupId}/cars/${pom.artifactId}-${pom.currentVersion}.car"/>
+    </goal>
+    <goal name="stopServer">  
+        <deploy:stopRemoteServer
+            uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector"
+            username="system"
+            password="manager"/>
+    </goal>
+
+    <goal name="runClient" prereqs="initVars">
+        <j:if test="${context.getVariable('enable.debug') == 'true'}">
+            <j:set var="geronimo.client.debug.options" value="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5003"/>
+        </j:if>
+        <java classname="org.apache.geronimo.system.main.ClientCommandLine" fork="yes"
+            jvmargs="${geronimo.client.debug.options} ${geronimo.corba.options} ${geronimo.ssl.options}">
+            <classpath>
+                <pathelement location="${maven.build.dir}/geronimo-${geronimo_version}/bin/client.jar"/>
+            </classpath>
+            <!--            <jvmarg value="${geronimo.server.corba.options}"/>-->
+            <arg value="daytrader/cars/daytrader-derby-1.0-SNAPSHOT.car/tradeStreamerAppclient"/>
+            <arg value="foo"/>
+            <arg value="bar"/>
+        </java>
+    </goal>
+
+</project>

Added: geronimo/trunk/sandbox/daytrader/modules/derby/project.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/derby/project.properties?rev=328946&view=auto
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/derby/project.properties (added)
+++ geronimo/trunk/sandbox/daytrader/modules/derby/project.properties Thu Oct 27 13:40:29 2005
@@ -0,0 +1,23 @@
+#    Copyright 2005 The Apache Software Foundation
+#
+#    Licensed under the Apache License, Version 2.0 (the "License");
+#    you may not use this file except in compliance with the License.
+#    You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#    See the License for the specific language governing permissions and
+#    limitations under the License.
+
+maven.compile.source=1.4
+maven.compile.target=1.4
+maven.compile.deprecation=true
+maven.compile.debug=true
+maven.compile.optimize=true
+
+maven.junit.jvmargs=-ea
+
+derby_version=10.1.1.0

Added: geronimo/trunk/sandbox/daytrader/modules/derby/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/derby/project.xml?rev=328946&view=auto
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/derby/project.xml (added)
+++ geronimo/trunk/sandbox/daytrader/modules/derby/project.xml Thu Oct 27 13:40:29 2005
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<!-- $Rev: 45928 $ $Date: 2004-09-11 17:03:39 -0700 (Sat, 11 Sep 2004) $ -->
+
+<project>
+    <pomVersion>3</pomVersion>
+    <extend>../../project.xml</extend>
+
+    <!-- ===================== -->
+    <!-- Module Identification -->
+    <!-- ===================== -->
+
+    <name>daytrader on derby</name>
+    <id>daytrader-derby</id>
+
+    <!-- ============ -->
+    <!-- Dependencies -->
+    <!-- ============ -->
+
+    <dependencies>
+        <dependency>
+            <groupId>geronimo</groupId>
+            <artifactId>geronimo</artifactId>
+            <version>${geronimo_version}</version>
+            <jar>geronimo-${geronimo_version}.zip</jar>
+            <type>distribution</type>
+        </dependency>
+        <dependency>
+            <groupId>daytrader</groupId>
+            <artifactId>daytrader-ear</artifactId>
+            <version>${pom.currentVersion}</version>
+            <type>ear</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.derby</groupId>
+            <artifactId>derby</artifactId>
+            <version>${derby_version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <sourceDirectory>src/java</sourceDirectory>
+        <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
+        <resources>
+            <resource>
+                <directory>${basedir}/src/java</directory>
+                <includes>
+                    <include>**/*.xml</include>
+                    <include>**/*.properties</include>
+                    <include>**/*.defaults</include>
+                </includes>
+            </resource>
+        </resources>
+    </build>
+</project>

Added: geronimo/trunk/sandbox/daytrader/modules/derby/src/plan/daytrader-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/derby/src/plan/daytrader-plan.xml?rev=328946&view=auto
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/derby/src/plan/daytrader-plan.xml (added)
+++ geronimo/trunk/sandbox/daytrader/modules/derby/src/plan/daytrader-plan.xml Thu Oct 27 13:40:29 2005
@@ -0,0 +1,693 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"
+    configId="daytrader/cars/daytrader-derby-1.0-SNAPSHOT.car">
+
+    <module>
+        <web>daytrader-web-1.0-SNAPSHOT.war</web>
+        <web-app xmlns="http://geronimo.apache.org/xml/ns/web"
+            configId="Web" parentId="Trade">
+            <context-priority-classloader>false</context-priority-classloader>
+            <service-ref>
+                <service-ref-name>service/Trade</service-ref-name>
+                <port>
+                    <port-name>TradeWSServices</port-name>
+                    <protocol>http</protocol>
+                    <host>localhost</host>
+                    <port>8080</port>
+                    <uri>/daytrader/services/TradeWSServices</uri>
+                </port>
+            </service-ref>
+        </web-app>
+    </module>
+
+
+
+    <!--
+    ##
+    ##  T r a d e E J B . j a r
+    ##  Module Definition
+    ##
+    ##
+    -->
+    <module>
+        <ejb>daytrader-ejb-1.0-SNAPSHOT.jar</ejb>     <!--  Note this must match the -->
+        <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar"
+                     configId="TradeEJBs"
+                     parentId="Web">
+
+
+            <!--
+            ##
+            ##  C o n n e c t i o n  F a c t o r y  D e f i n i t i o n
+            ##
+            ##
+            ##
+            -->
+            <cmp-connection-factory>
+                <resource-link>jdbc/TradeDataSource</resource-link>
+            </cmp-connection-factory>
+<!--            <ejb-ql-compiler-factory>com.tranql.sql.ejbcompiler.DB2EJBQLCompilerFactory</ejb-ql-compiler-factory>  -->
+<!--            <db-syntax-factory>com.tranql.sql.db2.DB2DBSyntaxFactory</db-syntax-factory>  -->
+
+            <enterprise-beans>
+                <session>
+                    <ejb-name>TradeEJB</ejb-name>
+                    <jndi-name>ejb/TradeEJB</jndi-name>
+                </session>
+                <session>
+                    <ejb-name>KeySequenceEJB</ejb-name>
+                    <jndi-name>ejb/KeySequenceEJB</jndi-name>
+                </session>
+
+
+                <!--
+                ##
+                ##  H o l d i n g E J B
+                ##
+                ##
+                ##
+                -->
+                <entity>
+                    <ejb-name>HoldingEJB</ejb-name>
+                    <table-name>HOLDINGEJB</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>purchasePrice</cmp-field-name>
+                        <table-column>purchasePrice</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>holdingID</cmp-field-name>
+                        <table-column>holdingID</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>quantity</cmp-field-name>
+                        <table-column>quantity</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>purchaseDate</cmp-field-name>
+                        <table-column>purchaseDate</table-column>
+                    </cmp-field-mapping>
+                </entity>
+
+
+                <!--
+                ##
+                ##  A c c o u n t P r o f i l e E J B
+                ##
+                ##
+                ##
+                -->
+                <entity>
+                    <ejb-name>AccountProfileEJB</ejb-name>
+                    <table-name>AccountProfileEJB</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>address</cmp-field-name>
+                        <table-column>address</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>password</cmp-field-name>
+                        <table-column>password</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>userID</cmp-field-name>
+                        <table-column>userID</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>email</cmp-field-name>
+                        <table-column>email</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>creditCard</cmp-field-name>
+                        <table-column>creditCard</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>fullName</cmp-field-name>
+                        <table-column>fullName</table-column>
+                    </cmp-field-mapping>
+                </entity>
+
+
+                <!--
+                ##
+                ##  Q u o t e E J B
+                ##
+                ##
+                ##
+                -->
+                <entity>
+                    <ejb-name>QuoteEJB</ejb-name>
+                    <table-name>QuoteEJB</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>low</cmp-field-name>
+                        <table-column>low</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>open</cmp-field-name>
+                        <table-column>open1</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>volume</cmp-field-name>
+                        <table-column>volume</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>price</cmp-field-name>
+                        <table-column>price</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>high</cmp-field-name>
+                        <table-column>high</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>companyName</cmp-field-name>
+                        <table-column>companyName</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>symbol</cmp-field-name>
+                        <table-column>symbol</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>change</cmp-field-name>
+                        <table-column>change1</table-column>
+                    </cmp-field-mapping>
+                </entity>
+
+
+                <!--
+                ##
+                ##  K e y G e n E J B
+                ##
+                ##
+                ##
+                -->
+                <entity>
+                    <ejb-name>KeyGenEJB</ejb-name>
+                    <table-name>KeyGenEJB</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>keyVal</cmp-field-name>
+                        <table-column>keyVal</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>keyName</cmp-field-name>
+                        <table-column>keyName</table-column>
+                    </cmp-field-mapping>
+                </entity>
+
+
+                <!--
+                ##
+                ##  A c c o u n t E J B
+                ##
+                ##
+                ##
+                -->
+                <entity>
+                    <ejb-name>AccountEJB</ejb-name>
+                    <table-name>AccountEJB</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>creationDate</cmp-field-name>
+                        <table-column>creationDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>openBalance</cmp-field-name>
+                        <table-column>openBalance</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>logoutCount</cmp-field-name>
+                        <table-column>logoutCount</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>balance</cmp-field-name>
+                        <table-column>balance</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>accountID</cmp-field-name>
+                        <table-column>accountID</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>lastLogin</cmp-field-name>
+                        <table-column>lastLogin</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>loginCount</cmp-field-name>
+                        <table-column>loginCount</table-column>
+                    </cmp-field-mapping>
+                </entity>
+
+
+                <!--
+                ##
+                ##  O r d e r E J B
+                ##
+                ##
+                ##
+                -->
+                <entity>
+                    <ejb-name>OrderEJB</ejb-name>
+                    <table-name>OrderEJB</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>orderFee</cmp-field-name>
+                        <table-column>orderFee</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>completionDate</cmp-field-name>
+                        <table-column>completionDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>orderType</cmp-field-name>
+                        <table-column>orderType</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>orderStatus</cmp-field-name>
+                        <table-column>orderStatus</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>price</cmp-field-name>
+                        <table-column>price</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>quantity</cmp-field-name>
+                        <table-column>quantity</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>openDate</cmp-field-name>
+                        <table-column>openDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>orderID</cmp-field-name>
+                        <table-column>orderID</table-column>
+                    </cmp-field-mapping>
+                </entity>
+
+
+
+
+
+                <message-driven>
+                    <ejb-name>TradeStreamerMDB</ejb-name>
+                    <resource-adapter>
+                        <resource-link>TradeJMSResources</resource-link>
+                    </resource-adapter>
+                    <activation-config>
+                        <activation-config-property>
+                            <activation-config-property-name>destinationType</activation-config-property-name>
+                            <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
+                        </activation-config-property>
+                        <activation-config-property>
+                            <activation-config-property-name>destination</activation-config-property-name>
+                            <activation-config-property-value>TradeStreamerQueue</activation-config-property-value>
+                        </activation-config-property>
+                        <activation-config-property>
+                            <activation-config-property-name>acknowledgeMode</activation-config-property-name>
+                            <activation-config-property-value>Auto-acknowledge</activation-config-property-value>
+                        </activation-config-property>
+                        <activation-config-property>
+                            <activation-config-property-name>SubscriptionDurability</activation-config-property-name>
+                            <activation-config-property-value>NonDurable</activation-config-property-value>
+                        </activation-config-property>
+                    </activation-config>
+                </message-driven>
+
+                <message-driven>
+                    <ejb-name>TradeBrokerMDB</ejb-name>
+                    <resource-adapter>
+                        <resource-link>TradeJMSResources</resource-link>
+                    </resource-adapter>
+                    <activation-config>
+                        <activation-config-property>
+                            <activation-config-property-name>destinationType</activation-config-property-name>
+                            <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
+                        </activation-config-property>
+                        <activation-config-property>
+                            <activation-config-property-name>destination</activation-config-property-name>
+                            <activation-config-property-value>TradeBrokerQueue</activation-config-property-value>
+                        </activation-config-property>
+                        <activation-config-property>
+                            <activation-config-property-name>acknowledgeMode</activation-config-property-name>
+                            <activation-config-property-value>Auto-acknowledge</activation-config-property-value>
+                        </activation-config-property>
+                        <activation-config-property>
+                            <activation-config-property-name>SubscriptionDurability</activation-config-property-name>
+                            <activation-config-property-value>NonDurable</activation-config-property-value>
+                        </activation-config-property>
+                    </activation-config>
+                </message-driven>
+            </enterprise-beans>
+
+            <!--
+            **
+            ** R e l a t i o n s h i p s   D e f i n i t i o n s
+            **
+            **
+            ** The following section defines the relationshoips for the entity beans in the application.
+            -->
+            <relationships>
+                <ejb-relation>
+                    <ejb-relation-name>Account-Orders</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>AccountEJB</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>AccountEJB</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>orders</cmr-field-name>
+                        </cmr-field>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>accountID</key-column>
+                                <foreign-key-column>account_accountID</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>
+                    </ejb-relationship-role>
+                </ejb-relation>
+
+
+                <!--
+                **
+                ** A c c o u n t   -   A c c o u n t P r o f i l e
+                **
+                **
+                ** The following section defines the relationships for the entity beans in the application.
+                -->
+                <ejb-relation>
+                    <ejb-relation-name>Account-AccountProfile</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>Account-Has-AccountProfile</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>AccountEJB</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>profile</cmr-field-name>
+                        </cmr-field>
+                        <foreign-key-column-on-source/>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>userID</key-column>
+                                <foreign-key-column>profile_userID</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>
+                    </ejb-relationship-role>
+                </ejb-relation>
+
+
+                <!--
+                **
+                ** A c c o u n t   -   H o l d i n g s
+                **
+                **
+                **
+                -->
+                <ejb-relation>
+                    <ejb-relation-name>Account-Holdings</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>AccountEJB</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>AccountEJB</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>holdings</cmr-field-name>
+                        </cmr-field>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>accountID</key-column>
+                                <foreign-key-column>account_accountID</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>
+                    </ejb-relationship-role>
+                </ejb-relation>
+
+
+                <!--
+                **
+                ** Q u o t e  -  H o l d i n g s
+                **
+                **
+                ** The following section defines the relationships for the entity beans in the application.
+                -->
+                <ejb-relation>
+                    <ejb-relation-name>Quote-Holdings</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>Holding-Has-Quote</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>HoldingEJB</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>quote</cmr-field-name>
+                        </cmr-field>
+                        <foreign-key-column-on-source/>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>symbol</key-column>
+                                <foreign-key-column>quote_symbol</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>
+                    </ejb-relationship-role>
+                </ejb-relation>
+
+
+                <!--
+                **
+                ** Q u o t e   -   O r d e r s
+                **
+                **
+                ** The following section defines the relationships for the entity beans in the application.
+                -->
+                <ejb-relation>
+                    <ejb-relation-name>Quote-Orders</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>Order-Has-Quote</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>OrderEJB</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>quote</cmr-field-name>
+                        </cmr-field>
+                        <foreign-key-column-on-source/>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>symbol</key-column>
+                                <foreign-key-column>quote_symbol</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>
+                    </ejb-relationship-role>
+                </ejb-relation>
+
+
+                <!--
+                **
+                ** O r d e r  -   H o l d i n g
+                **
+                **
+                ** The following section defines the relationships for the entity beans in the application.
+                -->
+                <ejb-relation>
+                    <ejb-relation-name>Order-Holding</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>Order-Has-Holding</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>OrderEJB</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>holding</cmr-field-name>
+                        </cmr-field>
+                        <foreign-key-column-on-source/>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>holdingID</key-column>
+                                <foreign-key-column>holding_holdingID</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>
+                    </ejb-relationship-role>
+                </ejb-relation>
+            </relationships>
+        </openejb-jar>
+    </module>
+
+
+
+
+    <module>
+        <java>daytrader-streamer-1.0-SNAPSHOT.jar</java>
+        <application-client  xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-client"
+            configId="foo"
+            clientConfigId="daytrader/cars/daytrader-derby-1.0-SNAPSHOT.car/tradeStreamerAppclient">
+            <resource>
+                <external-rar>activemq/rars/activemq-ra-3.2.rar</external-rar>
+                <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
+           configId="org/apache/geronimo/SystemJMS"
+           parentId="org/apache/geronimo/ActiveMQServer">
+                    <resourceadapter>
+                        <resourceadapter-instance>
+                            <resourceadapter-name>ActiveMQ RA</resourceadapter-name>
+                            <config-property-setting name="ServerUrl">tcp://localhost:61616</config-property-setting>
+                            <config-property-setting name="UserName">geronimo</config-property-setting>
+                            <config-property-setting name="Password">geronimo</config-property-setting>
+                            <workmanager>
+                                <gbean-link>DefaultWorkManager</gbean-link>
+                            </workmanager>
+                        </resourceadapter-instance>
+                        <outbound-resourceadapter>
+                            <connection-definition>
+                                <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
+                                <connectiondefinition-instance>
+                                    <name>jms/TopicConnectionFactory</name>
+                                    <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
+                                    <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
+                                    <connectionmanager>
+                                        <xa-transaction>
+                                            <transaction-caching/>
+                                        </xa-transaction>
+                                        <single-pool>
+                                            <max-size>10</max-size>
+                                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                                            <match-one/>
+                                        </single-pool>
+                                    </connectionmanager>
+                                </connectiondefinition-instance>
+                            </connection-definition>
+                        </outbound-resourceadapter>
+                    </resourceadapter>
+
+
+
+                    <adminobject>
+                        <adminobject-interface>javax.jms.Topic</adminobject-interface>
+                        <adminobject-class>org.codehaus.activemq.message.ActiveMQTopic</adminobject-class>
+                        <adminobject-instance>
+                            <message-destination-name>TradeStreamerTopic</message-destination-name>
+                            <config-property-setting name="PhysicalName">TradeStreamerTopic</config-property-setting>
+                        </adminobject-instance>
+                    </adminobject>
+
+                </connector>
+            </resource>
+        </application-client>
+    </module>
+    <ext-module>
+        <connector>TradeDataSource</connector>
+        <external-path>tranql/rars/tranql-connector-derby-embed-xa-1.0.rar</external-path>
+        <connector
+            xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
+            configId="TradeDataSource"
+            parentId="org/apache/geronimo/Server">
+
+
+            <dependency>
+                <uri>org.apache.derby/jars/derby-10.1.1.0.jar</uri>
+            </dependency>
+            <dependency>
+                <uri>org.apache.derby/jars/derbynet-10.1.1.0.jar</uri>
+            </dependency>
+
+            <resourceadapter>
+                <outbound-resourceadapter>
+                    <connection-definition>
+                        <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
+                        <connectiondefinition-instance>
+                            <name>jdbc/TradeDataSource</name>
+                            <config-property-setting name="UserName"></config-property-setting>
+                            <config-property-setting name="Password"></config-property-setting>
+                            <config-property-setting name="DatabaseName">tradedb</config-property-setting>
+                            <config-property-setting name="CreateDatabase">true</config-property-setting>
+                            <connectionmanager>
+                                <xa-transaction>
+                                    <transaction-caching/>
+                                </xa-transaction>
+                                <single-pool>
+                                    <max-size>10</max-size>
+                                    <min-size>0</min-size>
+                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                                    <idle-timeout-minutes>30</idle-timeout-minutes>
+                                    <match-one/>
+                                </single-pool>
+                            </connectionmanager>
+                        </connectiondefinition-instance>
+                    </connection-definition>
+                </outbound-resourceadapter>
+            </resourceadapter>
+        </connector>
+    </ext-module>
+
+
+    <ext-module>
+        <connector>TradeJMS</connector>
+        <external-path>activemq/rars/activemq-ra-3.2.rar</external-path>
+        <connector
+            xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
+            xmlns:naming="http://geronimo.apache.org/xml/ns/naming"
+            configId="TradeJMS"
+            parentId="TradeDataSource">
+
+            <resourceadapter>
+                <!-- how to connect to the JMS Server -->
+                <resourceadapter-instance>
+                    <resourceadapter-name>TradeJMSResources</resourceadapter-name>
+                    <config-property-setting name="ServerUrl">tcp://localhost:61616</config-property-setting>
+                    <config-property-setting name="UserName">not needed</config-property-setting>
+                    <config-property-setting name="Password">not needed</config-property-setting>
+                    <workmanager>
+                        <gbean-link>DefaultWorkManager</gbean-link>
+                    </workmanager>
+                </resourceadapter-instance>
+                <!-- defines a ConnectionFactory -->
+                <outbound-resourceadapter>
+                  <connection-definition>
+                        <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
+                        <connectiondefinition-instance>
+                            <name>jms/QueueConnectionFactory</name>
+                            <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
+                            <connectionmanager>
+                                <xa-transaction>
+                                    <transaction-caching/>
+                                </xa-transaction>
+                                <single-pool>
+                                    <max-size>10</max-size>
+                                    <min-size>0</min-size>
+                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                                    <idle-timeout-minutes>0</idle-timeout-minutes>
+                                    <match-one/>
+                                </single-pool>
+                            </connectionmanager>
+                        </connectiondefinition-instance>
+                    </connection-definition> 
+                    <connection-definition>
+                        <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
+                        <connectiondefinition-instance>
+                            <name>jms/TopicConnectionFactory</name>
+                            <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
+                            <connectionmanager>
+                                <xa-transaction>
+                                    <transaction-caching/>
+                                </xa-transaction>
+                                <single-pool>
+                                    <max-size>10</max-size>
+                                    <min-size>0</min-size>
+                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                                    <idle-timeout-minutes>0</idle-timeout-minutes>
+                                    <match-one/>
+                                </single-pool>
+                            </connectionmanager>
+                        </connectiondefinition-instance>
+                    </connection-definition>  
+                </outbound-resourceadapter>
+            </resourceadapter>
+
+            <adminobject>
+                <adminobject-interface>javax.jms.Topic</adminobject-interface>
+                <adminobject-class>org.codehaus.activemq.message.ActiveMQTopic</adminobject-class>
+                <adminobject-instance>
+                    <message-destination-name>TradeStreamerTopic</message-destination-name>
+                    <config-property-setting name="PhysicalName">TradeStreamerTopic</config-property-setting>
+                </adminobject-instance>
+            </adminobject>
+
+            <adminobject>
+                <adminobject-interface>javax.jms.Queue</adminobject-interface>
+                <adminobject-class>org.codehaus.activemq.message.ActiveMQQueue</adminobject-class>
+                <adminobject-instance>
+                    <message-destination-name>TradeBrokerQueue</message-destination-name>
+                    <config-property-setting name="PhysicalName">TradeBrokerQueue</config-property-setting>
+                </adminobject-instance>
+            </adminobject>
+
+        </connector>
+    </ext-module>
+</application>

Added: geronimo/trunk/sandbox/daytrader/modules/derby/src/sql/Table.ddl
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/derby/src/sql/Table.ddl?rev=328946&view=auto
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/derby/src/sql/Table.ddl (added)
+++ geronimo/trunk/sandbox/daytrader/modules/derby/src/sql/Table.ddl Thu Oct 27 13:40:29 2005
@@ -0,0 +1,85 @@
+--DROP TABLE HOLDINGEJB;
+--DROP TABLE ACCOUNTPROFILEEJB;
+--DROP TABLE QUOTEEJB;
+--DROP TABLE KEYGENEJB;
+--DROP TABLE ACCOUNTEJB;
+--DROP TABLE ORDEREJB;
+
+CREATE TABLE HOLDINGEJB
+  (PURCHASEPRICE DECIMAL(10, 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),
+   PASSWORD 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(10, 2),
+   OPEN1 DECIMAL(10, 2),
+   VOLUME DOUBLE NOT NULL,
+   PRICE DECIMAL(10, 2),
+   HIGH DECIMAL(10, 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(10, 2),
+   LOGOUTCOUNT INTEGER NOT NULL,
+   BALANCE DECIMAL(10, 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(10, 2),
+   COMPLETIONDATE TIMESTAMP,
+   ORDERTYPE VARCHAR(250),
+   ORDERSTATUS VARCHAR(250),
+   PRICE DECIMAL(10, 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 profile_userid on accountejb(profile_userid);
+CREATE INDEX account_accountid on holdingejb(account_accountid);
+CREATE INDEX account_accountidt on orderejb(account_accountid);
+CREATE INDEX holding_holdingid on orderejb(holding_holdingid);
+CREATE INDEX orderstatus on orderejb(orderstatus);
+CREATE INDEX ordertype on orderejb(ordertype);
+  

Modified: geronimo/trunk/sandbox/daytrader/modules/ear/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/ear/project.xml?rev=328946&r1=328945&r2=328946&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/ear/project.xml (original)
+++ geronimo/trunk/sandbox/daytrader/modules/ear/project.xml Thu Oct 27 13:40:29 2005
@@ -5,14 +5,13 @@
   <pomVersion>3</pomVersion>
   <id>daytrader-ear</id>
   <name>DayTrader Enterprise Application</name>
-  <currentVersion>1.0-SNAPSHOT</currentVersion>
   <package>org.apache.geronimo.samples.daytrader.ejb</package>
   <description>Day Trader Enterprise Archive</description>
   <dependencies>
     <dependency>
       <groupId>daytrader</groupId>
       <artifactId>daytrader-core</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>${pom.currentVersion}</version>
       <properties>
           <ear.bundle>true</ear.bundle>
       </properties>
@@ -20,7 +19,7 @@
     <dependency>
       <groupId>daytrader</groupId>
       <artifactId>daytrader-wsappclient</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>${pom.currentVersion}</version>
       <properties>
           <ear.bundle>true</ear.bundle>
       </properties>
@@ -28,7 +27,7 @@
     <dependency>
       <groupId>daytrader</groupId>
       <artifactId>daytrader-web</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>${pom.currentVersion}</version>
       <type>war</type>
       <properties>
           <ear.bundle>true</ear.bundle>
@@ -38,7 +37,7 @@
     <dependency>
       <groupId>daytrader</groupId>
       <artifactId>daytrader-ejb</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>${pom.currentVersion}</version>
       <type>ejb</type>
       <properties>
           <ear.bundle>true</ear.bundle>
@@ -47,7 +46,7 @@
     <dependency>
       <groupId>daytrader</groupId>
       <artifactId>daytrader-streamer</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>${pom.currentVersion}</version>
       <properties>
           <ear.bundle>true</ear.bundle>
       </properties>
@@ -61,9 +60,6 @@
       <includes>
         <include>**/*Test.java</include>
       </includes>
-      <excludes>
-        <exclude>**/NaughtyTest.java</exclude>
-      </excludes>
     </unitTest>
     <resources>
     </resources>

Modified: geronimo/trunk/sandbox/daytrader/modules/ejb/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/ejb/project.xml?rev=328946&r1=328945&r2=328946&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/ejb/project.xml (original)
+++ geronimo/trunk/sandbox/daytrader/modules/ejb/project.xml Thu Oct 27 13:40:29 2005
@@ -5,19 +5,18 @@
   <pomVersion>3</pomVersion>
   <id>daytrader-ejb</id>
   <name>DayTrader EJBs</name>
-  <currentVersion>1.0-SNAPSHOT</currentVersion>
   <package>org.apache.geronimo.samples.daytrader.ejb</package>
   <description>Day Trader EJBs</description>
   <dependencies>
     <dependency>
       <groupId>daytrader</groupId>
       <artifactId>daytrader-core</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>${pom.currentVersion}</version>
     </dependency>
     <dependency>
       <groupId>daytrader</groupId>
       <artifactId>daytrader-wsappclient</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>${pom.currentVersion}</version>
     </dependency>
     <dependency>
       <groupId>geronimo-spec</groupId>

Modified: geronimo/trunk/sandbox/daytrader/modules/ejb/src/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/ejb/src/META-INF/ejb-jar.xml?rev=328946&r1=328945&r2=328946&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/ejb/src/META-INF/ejb-jar.xml (original)
+++ geronimo/trunk/sandbox/daytrader/modules/ejb/src/META-INF/ejb-jar.xml Thu Oct 27 13:40:29 2005
@@ -28,13 +28,13 @@
                 <env-entry-type>java.lang.Boolean</env-entry-type>
                 <env-entry-value>true</env-entry-value>
             </env-entry>
-            <ejb-ref>
+            <!--ejb-ref>
                 <ejb-ref-name>ejb/Trade</ejb-ref-name>
                 <ejb-ref-type>Session</ejb-ref-type>
                 <home>org.apache.geronimo.samples.daytrader.ejb.TradeHome</home>
                 <remote>org.apache.geronimo.samples.daytrader.ejb.Trade</remote>
                 <ejb-link>TradeEJB</ejb-link>
-            </ejb-ref>
+            </ejb-ref-->
             <ejb-local-ref>
                 <ejb-ref-name>ejb/Quote</ejb-ref-name>
                 <ejb-ref-type>Entity</ejb-ref-type>

Modified: geronimo/trunk/sandbox/daytrader/modules/streamer/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/streamer/project.xml?rev=328946&r1=328945&r2=328946&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/streamer/project.xml (original)
+++ geronimo/trunk/sandbox/daytrader/modules/streamer/project.xml Thu Oct 27 13:40:29 2005
@@ -5,7 +5,6 @@
   <pomVersion>3</pomVersion>
   <id>daytrader-streamer</id>
   <name>streamer</name>
-  <currentVersion>1.0-SNAPSHOT</currentVersion>
   <package>org.apache.geronimo.samples.daytrader.client</package>
   <description>Streamer Application for Day Trader</description>
   <dependencies>
@@ -17,7 +16,7 @@
      <dependency>
       <groupId>daytrader</groupId>
       <artifactId>daytrader-ejb</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>${pom.currentVersion}</version>
      <type>ejb</type>
     </dependency>
     

Modified: geronimo/trunk/sandbox/daytrader/modules/web/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/web/project.xml?rev=328946&r1=328945&r2=328946&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/web/project.xml (original)
+++ geronimo/trunk/sandbox/daytrader/modules/web/project.xml Thu Oct 27 13:40:29 2005
@@ -5,14 +5,13 @@
   <pomVersion>3</pomVersion>
   <id>daytrader-web</id>
   <name>Web Application</name>
-  <currentVersion>1.0-SNAPSHOT</currentVersion>
   <package>org.apache.geronimo.samples.daytrader.web</package>
   <description>This is the web application.</description>
   <dependencies>
     <dependency>
       <groupId>daytrader</groupId>
       <artifactId>daytrader-ejb</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>${pom.currentVersion}</version>
       <type>ejb</type>
       <properties>
         <war.bundle>true</war.bundle>

Modified: geronimo/trunk/sandbox/daytrader/modules/wsappclient/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/modules/wsappclient/project.xml?rev=328946&r1=328945&r2=328946&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/modules/wsappclient/project.xml (original)
+++ geronimo/trunk/sandbox/daytrader/modules/wsappclient/project.xml Thu Oct 27 13:40:29 2005
@@ -5,7 +5,6 @@
   <pomVersion>3</pomVersion>
   <id>daytrader-wsappclient</id>
   <name>daytrader-wsappclient</name>
-  <currentVersion>1.0-SNAPSHOT</currentVersion>
   <package>org.apache.geronimo.samples.daytrader</package>
   <description>Common files for day Trader</description>
   <dependencies>

Modified: geronimo/trunk/sandbox/daytrader/project.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/project.properties?rev=328946&r1=328945&r2=328946&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/project.properties (original)
+++ geronimo/trunk/sandbox/daytrader/project.properties Thu Oct 27 13:40:29 2005
@@ -4,4 +4,8 @@
 maven.multiproject.ejb.includes=modules/ejb/project.xml
 maven.multiproject.ear.includes=modules/ear/project.xml
 maven.multiproject.streamer.includes=modules/streamer/project.xml
-maven.multiproject.jar.includes=modules/core/project.xml,modules/wsappclient/project.xml
\ No newline at end of file
+maven.multiproject.jar.includes=modules/core/project.xml,modules/wsappclient/project.xml
+
+geronimo_version=1.0-SNAPSHOT
+activemq_version=3.2
+

Modified: geronimo/trunk/sandbox/daytrader/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/daytrader/project.xml?rev=328946&r1=328945&r2=328946&view=diff
==============================================================================
--- geronimo/trunk/sandbox/daytrader/project.xml (original)
+++ geronimo/trunk/sandbox/daytrader/project.xml Thu Oct 27 13:40:29 2005
@@ -14,7 +14,7 @@
   <!-- The version of the project under development, e.g.
        1.1, 1.2, 2.0-SNAPSHOT -->
 
-  <currentVersion>1.0</currentVersion>
+  <currentVersion>1.0-SNAPSHOT</currentVersion>
   <!-- details about the organization that 'owns' the project -->
 
   <organization>



Mime
View raw message