title: Maven: javaee-api vs jboss-javaee-6.0
body: <p>I want a Java JEE6 project built with maven, and I want it <em>standard</em></p>
  
  <p>So, I put this in my pom.xml:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;javax&lt;/groupId&gt;
      &lt;artifactId&gt;javaee-api&lt;/artifactId&gt;
      &lt;version&gt;6.0&lt;/version&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>A project like this, it is supposed to run in every JEE6 container compatible (jboss, geronimo, glashfish, etc.)</p>
  
  <p>Then, why this jboss dependency exists?</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.jboss.spec&lt;/groupId&gt;
      &lt;artifactId&gt;jboss-javaee-6.0&lt;/artifactId&gt;
      &lt;version&gt;3.0.2.Final&lt;/version&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
   &lt;/dependency&gt;
  </code></pre>
  
  <p>If I use it, am I tied to jboss so I can only use this server with this application?</p>
  
  <p>Is it not preferable to always use the standard javaee-api?</p>
  
  <p>Thank you!</p>