title: Java EE Containers vs Web Containers
body: <p>I'm relatively new to Java EE/EJB, and I've been reading a lot regarding Java EE containers. I've had experience working with a web container (WAR file in JBoss). I am also aware that JBoss can also be used as a Java EE container.</p>
  
  <p>What is the difference between a Java EE container against a web container?</p>
  
  <p>I know Java EE is also able to contain a .war file. Are they different and what are their differences? Are there any preferences vendor specific-wise which is better?</p>