title: When to put jar's into the root of the ear and when to put them into the lib folder
body: <p>I have an ear where some jar's are in the root of the ear while some other jar's are inside the lib folder. That means something like the following:</p>
  <pre><code>myApplication.ear
    | myOtherApplication1.jar
    | lib
      | commons-lang-2.4.jar
      | myOtherApplication2.jar
  </code></pre>
  <p>This is achieved with the maven-ear-plugin.</p>
  <p>Now I am wondering: When to put which jar where? Can't I just put everything inside the lib folder? Why would I put something in the root?</p>