geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cjbly...@apache.org
Subject svn commit: r524818 [1/3] - in /geronimo/daytrader/branches/1.2: ./ modules/ejb/src/main/resources/ modules/ejb/src/main/resources/META-INF/ modules/streamer/src/main/resources/META-INF/ modules/web/src/main/webapp/WEB-INF/ modules/wsappclient/src/main...
Date Mon, 02 Apr 2007 15:56:55 GMT
Author: cjblythe
Date: Mon Apr  2 08:56:54 2007
New Revision: 524818

URL: http://svn.apache.org/viewvc?view=rev&rev=524818
Log:
DAYTRADER-40 Add SunServer 9 deployment descriptors and README

Added:
    geronimo/daytrader/branches/1.2/README.SunServer9
    geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-cmp-mappings.xml
  (with props)
    geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-ejb-jar.xml
  (with props)
    geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/sun-daytrader.dbschema
    geronimo/daytrader/branches/1.2/modules/streamer/src/main/resources/META-INF/sun-application-client.xml
  (with props)
    geronimo/daytrader/branches/1.2/modules/web/src/main/webapp/WEB-INF/sun-web.xml   (with
props)
    geronimo/daytrader/branches/1.2/modules/wsappclient/src/main/resources/META-INF/sun-application-client.xml
  (with props)

Added: geronimo/daytrader/branches/1.2/README.SunServer9
URL: http://svn.apache.org/viewvc/geronimo/daytrader/branches/1.2/README.SunServer9?view=auto&rev=524818
==============================================================================
--- geronimo/daytrader/branches/1.2/README.SunServer9 (added)
+++ geronimo/daytrader/branches/1.2/README.SunServer9 Mon Apr  2 08:56:54 2007
@@ -0,0 +1,182 @@
+These are instructions for building and deploying DayTrader 1.2 on Sun Java
+System Application Server Platform Edition 9.0. All of the necessary Sun
+vendor specific deployment descriptors and artifacts are included in the
+source tree.
+
+PLEASE NOTE: With the exception of the web services components (web servces
+proxy and ws appclient), all components of the application function.
+
+
+Before Building the EAR
+-------------------------
+
+Disable the web services components by...
+
+1) Rename the webservices.xml file under modules/web/src/main/webapp/WEB-INF to 
+   webservices.xml.org
+2) Open the web.xml file in the same directory and comment out the following
+   section...
+
+<service-ref>
+  <description>WSDL Service Trade</description>
+  <service-ref-name>service/Trade</service-ref-name>
+  <service-interface>org.apache.geronimo.samples.daytrader.client.ws.Trade</service-interface>
+  <wsdl-file>WEB-INF/wsdl/TradeServices.wsdl</wsdl-file>
+  <jaxrpc-mapping-file>WEB-INF/TradeServicesClient_mapping.xml</jaxrpc-mapping-file>
+  <service-qname xmlns:pfx="http://daytrader.samples.geronimo.apache.org">pfx:Trade</service-qname>
+  <port-component-ref>
+    <service-endpoint-interface>org.apache.geronimo.samples.daytrader.client.ws.TradeWSServices</service-endpoint-interface>
+  </port-component-ref>
+</service-ref>
+
+3) Open the application-client.xml file under modules/wsappclient/src/main/resources/META-INF
+   and comment out the following section...
+   
+<service-ref>
+  <description>WSDL Service Trade</description>
+  <service-ref-name>service/Trade</service-ref-name>
+  <service-interface>
+    org.apache.geronimo.samples.daytrader.client.ws.Trade
+  </service-interface>
+  <wsdl-file>META-INF/wsdl/TradeServices.wsdl</wsdl-file>
+  <jaxrpc-mapping-file>
+    META-INF/TradeServices_mapping.xml
+  </jaxrpc-mapping-file>
+  <service-qname xmlns:pfx="http://daytrader.samples.geronimo.apache.org">
+    pfx:Trade
+  </service-qname>
+  <port-component-ref>
+    <service-endpoint-interface>
+      org.apache.geronimo.samples.daytrader.client.ws.TradeWSServices
+    </service-endpoint-interface>
+  </port-component-ref>
+</service-ref>
+
+
+Building the EAR with Maven 2
+-------------------------------
+
+Build the EAR by changing directories to the top-level project directory and
+issue the following command...
+
+mvn install
+
+Assuming the build is successful, the ear will be located under the follwing
+directory...
+
+modules/ear/target
+
+
+Configuring the Application Server
+------------------------------------
+
+Add the required libraries (common-logging and database driver) to the servers
+classpath using Admin Console.
+
+1) Download the latest version of the commons-logging jar from the Apache
+   commons logging website (http://jakarta.apache.org/commons/logging/).
+2) Follow the "Application Server" link and click on the "JVM Settings" >>
+   "Path Settings" tab.
+3) Add the location of the commons-logging jar to the "Classpath Prefix"
+   section.
+4) Also, add the location of the database driver jars to this section.
+5) Click the "Save" button.
+6) RESTART the server for the changes to take affect!!!
+
+Using the Admin Console, create the JMS resources using the following steps...
+
+1) Expand the "Resources" >> "JMS Resources" tree
+2) Follow the "Connection Factories" link and click on "New"
+3) Enter the following required properties...
+      JNDI Name:   jms/TradeBrokerQCF
+      Type:        javax.jms.QueueConnectionFactory
+4) Delete all properties in the "Additional Properties" list
+5) Click on the "OK" button to save the changes
+6) Repeat steps 1 through 5 for the TradeStreamTCF using the following
+   properties...
+      JNDI Name:   jms/TradeStreamerTCF
+      Type:        javax.jms.TopicConnectionFactory
+7) Following the "Destination Resources" link and click on "New"
+8) Enter the following required properties...
+      JNDI Name:   jms/TradeBrokerQueue
+      Type:        javax.jms.Queue
+9) Under "Additional Properties" enter the following...
+      Name:        TradeBrokerQueue
+10) Repeat steps 7 through 9 for the TradeStreamerTopic using the following
+    properties...
+      JNDI Name:   jms/TradeStreamerTopic
+      Type:        javax.jms.Topic
+      Name:        TradeStreamerTopic
+      
+Also create the required JDBC resources using the following steps...
+
+1) Expand the "Resources" >> "JDBC" tree
+2) Follow the "Connection Pools" link and click on "New"
+3) Enter the appropriate information for your desired backend database (in this
+   example, we are creating a DB2 connection pool).
+      Name:                  DB2Pool
+      Resource Type:         javax.sql.XADataSource
+      Database Vendor:       DB2
+4) Click on "Next" and modify the "Datasource Classname"
+      Datasource Classname:  com.ibm.db2.jcc.DB2XADataSource
+5) Under "Additional Properties", ensure that the following properties are set.
+      databaseName:          tradedb
+      serverName:            localhost
+      portNumber:            50000
+      driverType:            4
+      user:                  <user name>
+      password:              <password>
+6) Click on "Finish" to save the changes. Note: After saving the changes, you 
+   can use the "Ping" button at the top of the page to verify connectivity.
+7) Follow the "JDBC Resource" link and click on "New"
+8) Enter the following requrie properties...
+      JNDI Name:             jdbc/TradeDataSource
+      Pool Name:             DB2Pool
+9) Click on the "OK" button to save the changes
+      
+
+Install the EAR
+-----------------
+
+1) Expand the "Applications" tree and follow the "Enterprise Applications" link
+2) Click on "Deploy"
+3) Provide the location of the DayTrader ear file and click "Next"
+4) Enable "Java Web Start" and click "Finish"
+
+
+
+DayTrader Streamer application client
+---------------------------------------
+  
+The Streamer app client requires the commons-logging jar as well. Since we are
+adding this jar to the servers classpath, this jar is not delivered available
+to the remote application client when launched via Java WebStart. To enable 
+this, you must update the ear file PRIOR TO DEPLOYMENT as described below...
+  
+1) Add the commons-logging jar to the root of the ear archive.
+2) Update Classpath entry in the MANIFEST.MF file of the dt-ejb.jar to include
+   the commons logging jar
+   
+The Streamer client can be accessed at the following URL:
+
+http://localhost:8080/daytrader/streamer
+
+
+DayTrader Logging/Tracing
+---------------------------
+
+To enable logging of the DayTrader components in Sun Server 9, proceed to the
+logging configuration section of the Admin Console ("Application Server" >>
+"Logging" >> "Log Levels"). Under "Additional Module Log Level Properties" add
+the following...
+
+org.apache.geronimo.samples.daytrader.util.Log: FINEST
+
+This will allow the TRACE messages to show up in the server log file.
+  
+      
+      
+      
+   
+   
+

Added: geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-cmp-mappings.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-cmp-mappings.xml?view=auto&rev=524818
==============================================================================
--- geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-cmp-mappings.xml
(added)
+++ geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-cmp-mappings.xml
Mon Apr  2 08:56:54 2007
@@ -0,0 +1,376 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sun-cmp-mappings PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.1
OR Mapping//EN" "http://www.sun.com/software/appserver/dtds/sun-cmp-mapping_1_2.dtd">
+<sun-cmp-mappings>
+  <sun-cmp-mapping>
+    <schema>sun-daytrader</schema>
+    <entity-mapping>
+      <ejb-name>KeyGenEJB</ejb-name>
+      <table-name>KEYGENEJB</table-name>
+      <cmp-field-mapping>
+        <field-name>keyVal</field-name>
+        <column-name>KEYGENEJB.KEYVAL</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>keyName</field-name>
+        <column-name>KEYGENEJB.KEYNAME</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+    </entity-mapping>
+    <entity-mapping>
+      <ejb-name>OrderEJB</ejb-name>
+      <table-name>ORDEREJB</table-name>
+      <cmp-field-mapping>
+        <field-name>orderFee</field-name>
+        <column-name>ORDEREJB.ORDERFEE</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>completionDate</field-name>
+        <column-name>ORDEREJB.COMPLETIONDATE</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>orderType</field-name>
+        <column-name>ORDEREJB.ORDERTYPE</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>orderStatus</field-name>
+        <column-name>ORDEREJB.ORDERSTATUS</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>price</field-name>
+        <column-name>ORDEREJB.PRICE</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>quantity</field-name>
+        <column-name>ORDEREJB.QUANTITY</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>openDate</field-name>
+        <column-name>ORDEREJB.OPENDATE</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>orderID</field-name>
+        <column-name>ORDEREJB.ORDERID</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmr-field-mapping>
+        <cmr-field-name>account</cmr-field-name>
+        <column-pair>
+          <column-name>ORDEREJB.ACCOUNT_ACCOUNTID</column-name>
+          <column-name>ACCOUNTEJB.ACCOUNTID</column-name>
+        </column-pair>
+        <fetched-with>
+          <none/>
+        </fetched-with>
+      </cmr-field-mapping>
+      <cmr-field-mapping>
+        <cmr-field-name>quote</cmr-field-name>
+        <column-pair>
+          <column-name>ORDEREJB.QUOTE_SYMBOL</column-name>
+          <column-name>QUOTEEJB.SYMBOL</column-name>
+        </column-pair>
+        <fetched-with>
+          <none/>
+        </fetched-with>
+      </cmr-field-mapping>
+      <cmr-field-mapping>
+        <cmr-field-name>holding</cmr-field-name>
+        <column-pair>
+          <column-name>ORDEREJB.HOLDING_HOLDINGID</column-name>
+          <column-name>HOLDINGEJB.HOLDINGID</column-name>
+        </column-pair>
+        <fetched-with>
+          <none/>
+        </fetched-with>
+      </cmr-field-mapping>
+    </entity-mapping>
+    <entity-mapping>
+      <ejb-name>QuoteEJB</ejb-name>
+      <table-name>QUOTEEJB</table-name>
+      <cmp-field-mapping>
+        <field-name>low</field-name>
+        <column-name>QUOTEEJB.LOW</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>open</field-name>
+        <column-name>QUOTEEJB.OPEN1</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>volume</field-name>
+        <column-name>QUOTEEJB.VOLUME</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>price</field-name>
+        <column-name>QUOTEEJB.PRICE</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>high</field-name>
+        <column-name>QUOTEEJB.HIGH</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>companyName</field-name>
+        <column-name>QUOTEEJB.COMPANYNAME</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>symbol</field-name>
+        <column-name>QUOTEEJB.SYMBOL</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>change</field-name>
+        <column-name>QUOTEEJB.CHANGE1</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmr-field-mapping>
+        <cmr-field-name>orders</cmr-field-name>
+        <column-pair>
+          <column-name>QUOTEEJB.SYMBOL</column-name>
+          <column-name>ORDEREJB.QUOTE_SYMBOL</column-name>
+        </column-pair>
+        <fetched-with>
+          <none/>
+        </fetched-with>
+      </cmr-field-mapping>
+    </entity-mapping>
+    <entity-mapping>
+      <ejb-name>HoldingEJB</ejb-name>
+      <table-name>HOLDINGEJB</table-name>
+      <cmp-field-mapping>
+        <field-name>purchasePrice</field-name>
+        <column-name>HOLDINGEJB.PURCHASEPRICE</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>holdingID</field-name>
+        <column-name>HOLDINGEJB.HOLDINGID</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>quantity</field-name>
+        <column-name>HOLDINGEJB.QUANTITY</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>purchaseDate</field-name>
+        <column-name>HOLDINGEJB.PURCHASEDATE</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmr-field-mapping>
+        <cmr-field-name>account</cmr-field-name>
+        <column-pair>
+          <column-name>HOLDINGEJB.ACCOUNT_ACCOUNTID</column-name>
+          <column-name>ACCOUNTEJB.ACCOUNTID</column-name>
+        </column-pair>
+        <fetched-with>
+          <none/>
+        </fetched-with>
+      </cmr-field-mapping>
+      <cmr-field-mapping>
+        <cmr-field-name>quote</cmr-field-name>
+        <column-pair>
+          <column-name>HOLDINGEJB.QUOTE_SYMBOL</column-name>
+          <column-name>QUOTEEJB.SYMBOL</column-name>
+        </column-pair>
+        <fetched-with>
+          <none/>
+        </fetched-with>
+      </cmr-field-mapping>
+    </entity-mapping>
+    <entity-mapping>
+      <ejb-name>AccountProfileEJB</ejb-name>
+      <table-name>ACCOUNTPROFILEEJB</table-name>
+      <cmp-field-mapping>
+        <field-name>address</field-name>
+        <column-name>ACCOUNTPROFILEEJB.ADDRESS</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>passwd</field-name>
+        <column-name>ACCOUNTPROFILEEJB.PASSWD</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>userID</field-name>
+        <column-name>ACCOUNTPROFILEEJB.USERID</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>email</field-name>
+        <column-name>ACCOUNTPROFILEEJB.EMAIL</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>creditCard</field-name>
+        <column-name>ACCOUNTPROFILEEJB.CREDITCARD</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>fullName</field-name>
+        <column-name>ACCOUNTPROFILEEJB.FULLNAME</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmr-field-mapping>
+        <cmr-field-name>account</cmr-field-name>
+        <column-pair>
+          <column-name>ACCOUNTPROFILEEJB.USERID</column-name>
+          <column-name>ACCOUNTEJB.PROFILE_USERID</column-name>
+        </column-pair>
+        <fetched-with>
+          <none/>
+        </fetched-with>
+      </cmr-field-mapping>
+    </entity-mapping>
+    <entity-mapping>
+      <ejb-name>AccountEJB</ejb-name>
+      <table-name>ACCOUNTEJB</table-name>
+      <cmp-field-mapping>
+        <field-name>creationDate</field-name>
+        <column-name>ACCOUNTEJB.CREATIONDATE</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>openBalance</field-name>
+        <column-name>ACCOUNTEJB.OPENBALANCE</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>logoutCount</field-name>
+        <column-name>ACCOUNTEJB.LOGOUTCOUNT</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>balance</field-name>
+        <column-name>ACCOUNTEJB.BALANCE</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>accountID</field-name>
+        <column-name>ACCOUNTEJB.ACCOUNTID</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>lastLogin</field-name>
+        <column-name>ACCOUNTEJB.LASTLOGIN</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmp-field-mapping>
+        <field-name>loginCount</field-name>
+        <column-name>ACCOUNTEJB.LOGINCOUNT</column-name>
+        <fetched-with>
+          <default/>
+        </fetched-with>
+      </cmp-field-mapping>
+      <cmr-field-mapping>
+        <cmr-field-name>orders</cmr-field-name>
+        <column-pair>
+          <column-name>ACCOUNTEJB.ACCOUNTID</column-name>
+          <column-name>ORDEREJB.ACCOUNT_ACCOUNTID</column-name>
+        </column-pair>
+        <fetched-with>
+          <none/>
+        </fetched-with>
+      </cmr-field-mapping>
+      <cmr-field-mapping>
+        <cmr-field-name>profile</cmr-field-name>
+        <column-pair>
+          <column-name>ACCOUNTEJB.PROFILE_USERID</column-name>
+          <column-name>ACCOUNTPROFILEEJB.USERID</column-name>
+        </column-pair>
+        <fetched-with>
+          <none/>
+        </fetched-with>
+      </cmr-field-mapping>
+      <cmr-field-mapping>
+        <cmr-field-name>holdings</cmr-field-name>
+        <column-pair>
+          <column-name>ACCOUNTEJB.ACCOUNTID</column-name>
+          <column-name>HOLDINGEJB.ACCOUNT_ACCOUNTID</column-name>
+        </column-pair>
+        <fetched-with>
+          <none/>
+        </fetched-with>
+      </cmr-field-mapping>
+    </entity-mapping>
+  </sun-cmp-mapping>
+</sun-cmp-mappings>

Propchange: geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-cmp-mappings.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-cmp-mappings.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-cmp-mappings.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-ejb-jar.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-ejb-jar.xml?view=auto&rev=524818
==============================================================================
--- geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-ejb-jar.xml
(added)
+++ geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-ejb-jar.xml
Mon Apr  2 08:56:54 2007
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB
3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd">
+<sun-ejb-jar>
+  <enterprise-beans>
+    <ejb>
+      <ejb-name>TradeEJB</ejb-name>
+      <jndi-name>ejb/TradeEJB</jndi-name>
+      <ejb-ref>
+        <ejb-ref-name>ejb/Trade</ejb-ref-name>
+        <jndi-name>ejb/TradeEJB</jndi-name>
+      </ejb-ref>
+      <resource-ref>
+        <res-ref-name>jms/QueueConnectionFactory</res-ref-name>
+        <jndi-name>jms/TradeBrokerQCF</jndi-name>
+      </resource-ref>
+      <resource-ref>
+        <res-ref-name>jms/TopicConnectionFactory</res-ref-name>
+        <jndi-name>jms/TradeStreamerTCF</jndi-name>
+      </resource-ref>
+      <resource-ref>
+        <res-ref-name>jdbc/TradeDataSource</res-ref-name>
+        <jndi-name>jdbc/TradeDataSource</jndi-name>
+      </resource-ref>
+    </ejb>
+    <ejb>
+      <ejb-name>TradeJDBC</ejb-name>
+      <jndi-name>ejb/TradeJDBC</jndi-name>
+    </ejb>
+    <ejb>
+      <ejb-name>TradeBrokerMDB</ejb-name>
+      <jndi-name>jms/TradeBrokerQueue</jndi-name>
+      <ejb-ref>
+        <ejb-ref-name>ejb/Trade</ejb-ref-name>
+        <jndi-name>ejb/TradeEJB</jndi-name>
+      </ejb-ref>
+      <mdb-connection-factory>
+        <jndi-name>jms/TradeBrokerQCF</jndi-name>
+      </mdb-connection-factory>
+    </ejb>
+    <ejb>
+      <ejb-name>TradeStreamerMDB</ejb-name>
+      <jndi-name>jms/TradeStreamerTopic</jndi-name>
+      <mdb-connection-factory>
+        <jndi-name>jms/TradeStreamerTCF</jndi-name>
+      </mdb-connection-factory>
+    </ejb>
+    <ejb>
+      <ejb-name>HoldingEJB</ejb-name>
+      <jndi-name>ejb/HoldingEJB</jndi-name>
+    </ejb>
+    <ejb>
+      <ejb-name>AccountProfileEJB</ejb-name>
+      <jndi-name>ejb/AccountProfileEJB</jndi-name>
+    </ejb>
+    <ejb>
+      <ejb-name>QuoteEJB</ejb-name>
+      <jndi-name>ejb/QuoteEJB</jndi-name>
+    </ejb>
+    <ejb>
+      <ejb-name>KeyGenEJB</ejb-name>
+      <jndi-name>ejb/KeyGenEJB</jndi-name>
+    </ejb>
+    <ejb>
+      <ejb-name>AccountEJB</ejb-name>
+      <jndi-name>ejb/AccountEJB</jndi-name>
+    </ejb>
+    <ejb>
+      <ejb-name>OrderEJB</ejb-name>
+      <jndi-name>ejb/OrderEJB</jndi-name>
+    </ejb>
+    <cmp-resource>
+      <jndi-name>jdbc/TradeDataSource</jndi-name>
+      <create-tables-at-deploy>false</create-tables-at-deploy>
+      <drop-tables-at-undeploy>false</drop-tables-at-undeploy>
+      <database-vendor-name>DB2</database-vendor-name>
+    </cmp-resource>
+    <message-destination>
+      <message-destination-name>TradeBrokerQueue</message-destination-name>
+      <jndi-name>jms/TradeBrokerQueue</jndi-name>
+    </message-destination>
+    <message-destination>
+      <message-destination-name>TradeStreamerTopic</message-destination-name>
+      <jndi-name>jms/TradeStreamerTopic</jndi-name>
+    </message-destination>
+  </enterprise-beans>
+</sun-ejb-jar>

Propchange: geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-ejb-jar.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-ejb-jar.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/sun-ejb-jar.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message