title: jar deployment on application server
body: <p>I have a executable jar and want to deploy it to an application server (jBoss AS 7.X).<br/><br/>
  I cannot go for Enterprise application project structure directly as This application does not need any web container. Further more it also doesn't need any Interface and do internal communication through message broker.<br/> I have developed it as normal java application. For communication to other moules it uses AMQP server for instance RabbitMQ.<br/>
  <br/></p>
  
  <pre><code>Benefits for deploying on server
    - Centralization of all modules
    - Deployment is easy
    - Scalable 
  </code></pre>
  
  <p>Running it as standalone app needs all modules to be started and managed separately and not easy for business users.
  <br/><br/>
  Another catch is that it has some configuration file that is in file system and cannot place them within jar as they might need to updated at runtime.
  <br/><br/>
  I can also not have Enterprise application structure as all modules within EE containers as some application are not java based (having different platforms such as .NET) and have different architectures.<br/>
  I am new to java platform so suggest me some way out. Also suggest any better architecture for this and if jBoss is not solution.</p>