Where does the Jar file come from? I expected it to be either a part of the JDK or Eclipse. That expectation proved to be wrong.
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):
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.
2.1m questions
2.1m answers
60 comments
57.0k users