> Run the MDB Sample with Built-In JMS
> These steps establish baseline behavior for the sample message-driven bean (MDB) in JMS.
> Configure

> 1. | Ensure that EMS_HOME\bin is in the PATH.

> 2. | Start the application server.

> 3. | Change directory to EMS_HOME\samples\ejb\mdb\simple\src, and run the following commands:

> Build
> asant
> Deploy
> asant deploy-jms-resource
> asant deploy
> The server log should indicate that the MDB is successfully deployed.
> Run

> 4. | Change directory to EMS_HOME\domains\domain1\server1\applications\j2ee-apps\mdb-s imple_1, and run this command:

> appclient -client mdb-simpleClient.jar -name SimpleMessageClient -textauth
> The console should display these lines:
> Sending message: This is message 1
> Sending message: This is message 2
> Sending message: This is message 3
> The server log should display these lines:
> MESSAGE BEAN: Message received: This is message 1
> MESSAGE BEAN: Message received: This is message 2
> MESSAGE BEAN: Message received: This is message 3
> Clean Up

> 5. | Change directory to EMS_HOME\samples\ejb\mdb\simple\src, and run these commands:

> asant clean
> asant undeploy

> 6. | Remove the directory: EMS_HOME\domains\domain1\server1\applications\j2ee-apps\mdb-s imple_1

Copyright © TIBCO Software Inc. All Rights Reserved.