Chapter 4 Integrating With Borland Enterprise Server 5.1 : Running This Example

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...