Running This Example


To run the example client, navigate to the directory C:\BorlandEnterpriseServer\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 SampleQ1. 
Publishing a message to topic SampleT1. 
Done. 

The output of the MDB appears in the event log in the following location:

C:\BorlandEnterpriseServer\var\servers\<server-name>\adm\logs\ 
partitions\standard\event.log 

The following messages are contained in that file:

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

You can also view the event log output from the Borland Console, by clicking on "standard" in the left pane, clicking on the "Logs" tab in the lower right pane, and choosing "event" in the drop down menu in the upper left corner of the right pane.


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