title: EJB  - external lib or inside JSF project?
body: <p>I'm packaging my app as WAR archive. What are pros/cons of these two approaches:</p>
  
  <ol>
  <li>Keep EJB (beans, entities etc) as separate project and include into WAR as lib (*.jar file - WEB-INF/lib) during build?</li>
  <li>Keep everything (ejb-s, jsf beans etc) in one project, so after build all would go to WEB_INF/classes</li>
  </ol>
  
  <p>Is there any performance/security difference?
  I'm using GlassFish 3.1.1 WebProfile</p>