Log Message-Driven Bean Example
-------------------------------

The following are the steps to build, deploy, and run this sample.
Make sure that the J2EE 1.4 server is running before deployment.

To compile the source files of the beans, build the assembly
file, and deploy it, execute: 

1) asant compile

This will compile the Log MDB Java source.

2) asant ear

This will package the Log MDB into a Log application EAR.

3) asant deploy_jms_resources

This will create the JMS resources, mainly - topic connection factory,
topic and physical destination in the JMS/application server.

4) asant deploy

This will deploy the Log bean to the server. 

5) Restart J2EE application server if you face any problem in step 4)

Restart the J2EE application server so that creation of
JMS resources can take effect. This is required only if you face
problem with deploying Log MDB in step 4).

6) asant client_jar

This will build the client-side jar file.

7) asant run_client_standalone

This will run the standalone JMS client that produces JMS messages and 
sends it to the topic. Observe your application server console to see
the echo message from Log MDB. Make sure your application server is 
running in verbose mode to be able to see the echo messages flushed
from Log MDB.

8) asant clean

This will remove any generated files and .class files for a clean
rebuild, but not the archive files (.ear, .jar).

9) asant undeploy

This will undeploy Log bean from the J2EE 1.4 application
server.

10) asant undeploy_jms_resources

This will remove all the JMS related resources (Topic connection
factory, topic, and the physical destination) from the 
JMS/application server.