Where to Download java-ee.jar?

Sun/Oracle is providing a java-ee.jar – which contains only the Java EE APIs and does not contain any method bodies – that you can use to compile against it (from the java.net maven repository):

  • For Java EE 5: http://download.java.net/maven/1/javaee/jars/javaee-api-5.jar
  • For Java EE 6: http://download.java.net/maven/2/javax/javaee-api/6.0/javaee-api-6.0.jar

If you want to execute some Java EE code, you’ll need a Java EE application server, they provide an implementation of the Java EE APIs. For example, for Java EE 6, there is GlassFish.

Leave a Comment