(C) Copyright 2006,2008 The Apache Software Foundation. ---------------------------------------------------------------------- These are instructions for building and useing daytrader with JBoss: First create a $JBOSS_SERVER_HOME/deploy/jms/daytrader-destinations-service.xml file with the fiollowing contents: TradeBrokerQueue jboss.mq:service=DestinationManager TradeStreamerTopic jboss.mq:service=DestinationManager Then edit your $JBOSS_SERVER_HOME/deploy/ejb-deployer.xml file and find the line that sets the VerifyDeployments attribute and set to false. It should look like the following: ... false ... If using MySQL, create a mysql database called tradedb and load it with the derby.sql. Create a user named daytrader and grant the proper privileges as follows: grant all on tradedb.* to daytrader identified by 'daytrader'; grant all on tradedb.* to daytrader@localhost identified by 'daytrader'; Then create a JBoss mysql datasource by creating a $JBOSS_SERVER_HOME/deploy/mysql-ds.xml file with the following contents: jdbc/TradeDataSource false jdbc:mysql://localhost:3306/tradedb com.mysql.jdbc.Driver daytrader daytrader org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter mySQL Finally build a mysql version of daytrader with the following command: mvn clean install -Ddatabase=mysql Copy the $DAYTRADER_SRC_HOME/modules/ear/target/daytrader-ear-1.1-SNAPSHOT.ear to your $JBOSS_SERVER_HOME/deploy directory.