Running This Example


Before running the example, ensure that the CLASSPATH includes the following JAR files:

 
message_beans_client.jar  
tibjms.jar 
tibjmsapps.jar 
tibcrypt.jar 

To run the example client, navigate to the directory C:\<BES-install-dir>\examples\ejb\mdb and enter the following command:

 
>appclient message_beans_client.jar 

The client prints the following messages in the window:

Sending a message to queue TibQ1. 
Publishing a message to topic TibT1. 
Done. 

The output of the MDB appears in the event log for the partition where you deployed the MDB. You can view the event log output from the Borland Enterprise Console.

The following messages are displayed in the event log:

 
<HelloEJBQueue> Got a message from queue TibQ1: 
Hello MDB, this is a message from the client... 
<HelloEJBTopic> Got a message from topic TibT1: 
Hello MDB, this is another message from the client... 


TIBCO Enterprise Message Service™ Application Integration Guide
Software Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com