Copyright (C) Bull, 2001-2004


Example description
-------------------
This unrealistic example is very sample for illustrating the use of
Message Driven Beans in JOnAS.

The EJBClient (MdbClient) is a pure JMS Client that sends 10 messages
on a Queue named "mdbQueue".
In the JOnAS Server is deployed a Message Driven Bean Mdb that asynchrounsly
receives and prints the messages.

The differences with the 'newsamplemdb' example is that here we have queue instead of topic.
In the 'newsamplemdb2', the queue name is defined in the newsamplemdb2.xml (standard dd) through the activation-config-property 'destination'.
Note that this example requires using JMS via the resource adapter JORAM and not the service jms.

Compiling this example:
----------------------
To do in the directory JONAS_ROOT/examples/src

ant -find build.xml install

Running this example:
---------------------

Toy can use the provided scripts (run.sh on Unix or run.bat on Windows) to execute the
whole example.

or, steb by step:
  jonas start
  ant runclient
  jonas stop
