Where to Download java-ee.jar?
Solution 1:
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.
Solution 2:
if you want javaee-api-7.jar, use maven dependency
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>7.0</version>
</dependency>
or you can download from here
Solution 3:
Download Glassfish or JBOSS or another Java EE app server. They all have it.