Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is glassfish? [duplicate]

I'm downloading Java EE, and there seems to be a ridiculous number of different download options. I'm not sure which one I should choose. Java EE seems to be packaged with GlassFish. Can anyone tell me what this is and what good it does me?

Secondly, if I'm looking just to play around and get to know Java EE, which is the download for me? The link that lists the options is below...

Java EE Downloads Options

like image 500
well actually Avatar asked Jan 04 '11 21:01

well actually


People also ask

Is GlassFish free for commercial use?

GlassFish is free software and was initially dual-licensed under two free software licences: the Common Development and Distribution License (CDDL) and the GNU General Public License (GPL) with the Classpath exception.

What is GlassFish used for?

GlassFish is a Java application server project created by Sun Microsystems that allows many developers to generate enterprise technologies that are convenient and scalable, as well as additional services that can be installed based on preference.

How can I tell if GlassFish is running on Windows?

In the Services window, expand the Servers node.If a green arrow icon appears on the GlassFish V2 node, the server is running. If no green arrow icon appears, see To Start the GlassFish Application Server in the NetBeans IDE.

What is GlassFish open source server?

Oracle GlassFish Server is the world's first implementation of the Java Platform, Enterprise Edition (Java EE) 6 specification. Built using the GlassFish Server Open Source Edition, Oracle GlassFish Server delivers a flexible, lightweight, and production-ready Java EE 6 application server.


2 Answers

First of all, it's called Java EE since almost 5 years ago. The acronym J2EE still refers to the older Java EE versions prior to 5.0.

As to Glassfish, it's Oracle's concrete implementation of Java EE. The Java EE is namely an abstract API which everyone is free to implement. There are several Java EE implementations available, either full fledged implementations like Oracle Glassfish 3, JBoss AS 6, etc, or partial (only JSP/Servlet) implementations like Apache Tomcat 7, Eclipse Jetty 8, etc. Glassfish Web Profile is also a partial implementation.

If you intend to develop only with JSP/Servlet, then Glassfish Web Profile is sufficient. If you intend to develop with help of a Netbeans IDE, then pick the bundle with Netbeans. But instead of Netbeans you can also just choose Eclipse or IntelliJ as IDE.

Related questions:

  • Is the official Java EE tutorial the best to learn making Java webapps?
like image 184
BalusC Avatar answered Sep 28 '22 06:09

BalusC


First, as BalusC pointed out, you're using the wrong nomenclature. A lot of recruiting and other type companies still use J2EE in order to find candidates, because to them it is just a word, that has the same meaning to Java as .NET Framework does to C#, it doesn't mean Java Version 2 Enterprise Environment. It means experianced Java developer.

If you want to develop Java with an Integrated Development Environment (like Visual Studio) use Eclipse or NetBeans and have those install the environment for you. Otherwise if you are just going to use notepad because it is academic in nature (compiling a hello world example from your prof. using javac), you won't need any more than the bear minimum I'm sure. You won't need an application server or anything to do with JSP.

like image 24
jafesler Avatar answered Sep 28 '22 05:09

jafesler