title: JBoss 5.1.0 + EJB 3.1 + JMS
body: <p>Can somebody advice me what I need to do in jboss to deploy message driven bean. In particular I am looking answers on following questions:</p>
  
  <ol>
  <li>Do I need to define jms topic, connection factory etc... in config files, if yes where and how</li>
  <li>Where I will specify a url to remote JMS server</li>
  </ol>
  
  <p>Any helpful links or code snippets really appreciated</p>
  
  <p>UPDATE#1: Maybe I explained myself not very well, my clarification is about architecture. I have external JMS server which is deployed on separate machine and I want to create EJB3 MDR Bean to receive messages from particular topc. I know all properties like host, port, username and password, and I am able to send and receive messages via JMS api. What I want to do is to create and configure properly MDR Bean on top of jboss, but I am not sure where to put all these configuration like host, port, username, password etc...</p>