title: How to start a Java EE 6 project in Eclipse
body: <p>I have recently begun learning Java EE 6 after doing Java SE for some years now (together with  other languages). I have bought different books about Maven, EJB, JSF, Glassfish and so on (not read them all yet though), and I feel absolutely overwhelmed of the complexity of just making a project. </p>
  
  <p>How would I start a project from "scratch" (Not copying a from an example in the book) in eclipse? I can choose from Dynamic Web project, Maven project, EJB project, EAR application etc. Which should I use if I want to make an application that has EJB/JPA and JSF inside (web application)?</p>
  
  <p>I know about the Standard Maven Directory Layout and archetypes, however I do not know which to choose if this is the way to do it. Of course, I understand that there are many ways of doing it and it is dependent on what I will use it for, but I am learning Java EE 6 so I want to at least have some knowledge of how to set up a basic project as well.</p>
  
  <p>I am also rather overwhelmed by the POM file. How do I know which dependencies I need just to get started with a web application?  Or is this included in the correct archetype (if I find one?) </p>
  
  <p>I am using Glassfish as application server, Eclipse, EJB, JPA and JSF. Currently learning from book examples only. </p>