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