For a quick start, follow the steps below:1. In <jboss-home>\server\default\deploy\directory... jbossmq-destinations-service.xml, jms-service.xml, jbossmq-service.xml are the three files that deal with jms stuff.2. <jboss-home>\server\default\deploy\jbossmq-destinations-service.xml contains default destinations provided by JBoss. Say we choose the default topic "testTopic". When JBoss starts this is registered with the JNDI name of Topic/testTopic.3. In the same file, u can also see the connectionfactory provided .. for eg java:/XAConnectionFactory.4. So yr code cd be