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.
1.4m articles
1.4m replys
5 comments
57.0k users