title: activemq embedded broker
body: <p>In ActiveMQ, there is a concept called BrokerService. Normally for learning purposes, I am starting the broker from the command line using 'activemq' which starts the Broker.
  What is the difference between starting the broker this way and using the BrokerService.start();</p>
  
  <p>My guess is that when you use 'activemq' , the broker starts in its own jvm, when you use BrokerService.start(), the broker is using the existing JVM.
  Is this correct?</p>
  
  <p>Also, if someone can point to a resource that explains how the broker architecture is implemented in a traditional j2ee server like weblogic, that would be much appreciated.</p>
  
  <p>I am mostly seeking clarification of how a broker can be deployed on a cluster?</p>