Sign up ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

I'm confused. Does Glassfish come as part of the Java EE platform? Can you get Glassfish but not Java EE?

share|improve this question

3 Answers 3

up vote 15 down vote accepted

Glassfish is the reference implementation by Oracle for Java EE specifications. So, Java EE - a set of specifications for enterprise applications - is independent of Glassfish - a reference implementation for Java EE specifications.

Glassfish does not come as a part of Java EE as there are other Java EE implementations such as IBM's WebSphere. However, it is not possible to get Glassfish without Java EE as it is the reference implementation of Java EE specifications.

share|improve this answer
+1 very clear. I'll add that other implementations include JBoss, WebLogic, and Geronimo. Tomcat and Jetty are implementations of the Servlet Spec, but do not implement all of Java EE –  Eric Wilson Aug 29 '11 at 1:13

Java EE is an API, GlassFish is an implementation of that API.

Much in the same way that List is an interface, and that ArrayList implements that interface. (This is also why you cannot get ArrayList without getting List, and why you cannot get GlassFish without getting Java EE).

share|improve this answer

Does Glassfish come as part of the Java EE platform?

No, Glassfish is an application server that fully implements all of the Java EE API and, thus, makes it fully Java EE compliant Application Server. This means that if you write a Java EE application, Glassfish will run it for you with ease (you will have to do minimal configuration, if not, none).

Can you get Glassfish but not Java EE?

Java EE is an API framework consistings of Java EE API's (JDBC, RMI, JPA, EJB, JMS, etc.). You can get Oracle Glassfish Server (that isn't JEE compliant). There are other JEE compliant Application Server on the market, such as JBoss Application Server, IBM Wesphere Application Server, etc.,

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.