title: Differences between Intellij project and module
body: <ol>
  <li><p>I followed dropwizard tutorial and build a simple API project( or maybe I should call it a module). Can I make it a module? Since there is a <code>main</code> method in it, is it allowed to have <code>main</code> method, <code>pom.xml</code> and <code>yml</code> file in a module? If so, when import several modules to a project, how to use the service it provides?</p></li>
  <li><p>What is the folder structure difference between a project and a module? I notice in the <code>Project Settings</code> of Intellij, I can either add my application to the module, or artifacts.</p></li>
  <li>Should I package my restful API project as a jar to use it?</li>
  </ol>