Where does it come from? I expected it to be either a part of my JDK or Eclipse, that expectation proved to be wrong.
A:
Download Glassfish or JBOSS or another Java EE app server. They all have it.
duffymo
2010-07-29 01:30:34
+1
A:
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.
Pascal Thivent
2010-07-29 02:10:01