I am using Netbeans6.1RC2 to create a independant EJB module with the MDB code. My EJB module only consists of a MDB.
Then I deploy the ejb module in JBoss4.2.2GA.
Now I create a seperate web application project to which I have added a java class (MessageProd.class) running the JMS code similar to the sample code provided in EJB3 in action book.
I am adding the jar file to my library just to get the TestMessage.class.
When I execute the client code I dont get any output on the server.
I have added the following entry in jbossmq-destinations-service.xml
P.S.: Please do me a big favor and kindly avoid addressing questions to me directly (especially in the thread starter ) on the JavaRanch forums. The reason is that I am merely just another "Rancher" here, so it looks a little out-of-place and makes me a tiny bit uncomfortable. I try my best to keep an eye on posts anyway and respond when I think it is needed :-). That being said, you can address me directly all you want on the Manning EJB 3 in Action Author Online Forum: http://www.manning.com/panda/. And I understand and appreciate the gesture :-).
Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1