GlassFish Server Open Source Edition - 3.1 Final

Quick Start Guide | Release Notes | Installation Guide | All-in-one documentation archive | GlassFish Project Home | Licensing | About GlassFish Server 3.1 | Support

Welcome to GlassFish Server Open Source Edition 3.1, the industry's first application server to support the Java Platform, Enterprise Edition 6 (Java EE 6) standard with production-ready features such as clustering and centralized administration. Its overall flexibility and ease of use reduce cost by providing improved developer productivity, simplified application architecture, and dynamic upgrade support.

NOTE: GlassFish 3.1.1 has now been released and you are encouraged to use to this newer version instead since it fixes a number of bugs, upgrades many components and supports JDK 7.
You can update from 3.1 to 3.1.1 using the update center or install a new version from scratch.

What is GlassFish Server 3.1?

GlassFish Server 3.1 is the successor of the earlier 3.0.x releases featuring a modular, flexible runtime based on the OSGi standard now with fully-featured clustering with centralized administration of multiple clusters and high availability of stateful components. Developers also benefit from the simplified programming model and productivity improvements offered by Java EE 6. Because GlassFish Server 3.1 uses a microkernel architecture based on OSGi, developers can begin with the Java EE 6 Web Profile and use the Update Center to easily upgrade to the full Java EE 6 platform!

GlassFish Server 3.1 is also the fastest open source application server offering advanced features such as application versioning, application-scoped resources, and great development tool support from NetBeans 7.0, Eclipse and other popular IDEs.

After installing and using GlassFish 3.1, let us know what you think and, of course, feel free to get involved!

What is the License?

GlassFish Community Distributions are available under a Dual License consisting of the Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2. See the third-party readme and webprofile-third-party-readme for external components included in GlassFish Server 3.1 and their associated licenses.

How do I get GlassFish Server 3.1?

GlassFish Server Open Source Edition 3.1

Distribution

Windows [1]

Size (MB)

Linux / Unix / Mac [2]

Size (MB)

Zip archive [3]

Size (MB)

GlassFish Server 3.1
Open Source Edition
Full Platform

glassfish-3.1-windows.exe (EN)

52

glassfish-3.1-unix.sh (EN)

52

glassfish-3.1.zip (EN)

78

glassfish-3.1-windows-ml.exe
(multilingual)

61

glassfish-3.1-unix-ml.sh
(multilingual)

61

glassfish-3.1-ml.zip
(multilingual)

93

GlassFish Server 3.1
Open Source Edition
Web Profile

glassfish-3.1-web-windows.exe (EN)

32

glassfish-3.1-web-unix.sh (EN)

32

glassfish-3.1-web.zip (EN)

44

glassfish-3.1-web-windows-ml.exe
(multilingual)

38

glassfish-3.1-web-unix-ml.sh
(multilingual)

35

glassfish-3.1-web-ml.zip
(multilingual)

38
[1]: GUI-based installer for Windows. Can be used in silent mode.
[2]: GUI-based installer for Solaris, Linux and MacOS X. Can be used in silent mode.
[3]: Platform-independent download file. Simply unzip and start default domain1.

Required JDK Version

Installations require JDK 6. The minimum and certified version required version is Oracle's JDK 1.6.0_22.

Other GlassFish Server 3.1 Distributions

Maven coordinates

groupId

artifactId

Description

org.glassfish maven-embedded-glassfish-plugin:3.1 (pom.xml) GlassFish embedded Maven plugin. glassfish:run, glassfish:deploy, etc...
See the "Embedded Server Guide" for more details.
org.glassfish.extras glassfish-embedded-all:3.1 (pom.xml) GlassFish Server 3.1 in a single JAR, useful for embedded use.
Contains the full platform implementation (64MB).
org.glassfish.extras glassfish-embedded-web:3.1 (pom.xml) GlassFish Server 3.1 in a single JAR, useful for embedded use.
Contains the Web Profile implementation (37 MB).
javax javaee-api:6.0 (pom.xml) All the Java EE 6 Full Platform APIs. Contains only the APIs.
Useful for compiling, not for running in Java SE or junit environments.
This artifact should be used with a provided scope.
javax javaee-web-api:6.0 (pom.xml) All the Java EE 6 Web Profile APIs. Contains only the APIs.
Useful for compiling, not for running in Java SE or junit environments.
This artifact should be used with a provided scope.
javax javaee-endorsed-api:6.0 (pom.xml) All the Java EE 6 Web Profile APIs. Contains only the APIs.
Useful for compiling, not for running in Java SE or junit environments.
This artifact should be used with a provided scope.

You should find all the GlassFish artifacts in Maven Central.

What's in GlassFish Server 3.1 ?

Feature

Included in
GlassFish Server 3.1
Full Platform

Included in
GlassFish Server 3.1
Web Profile

Java Platform, Enterprise Edition 6

X

X

EJB 3.1 Lite (Support for Local Container only)

X

X

JTS/JTA 1.1 **

X

X

OSGi-based microkernel

X

X

Clustering

X

X

High-Availability

X

X

Java Web Technologies (Servlet 3.0, JSP 2.2, JSF 2.0, JSTL 1.2, EL 2.2)

X

X

Grizzly/Comet

X

X

JPA 2.0, (EclipseLink), JDBC Connection Pooling

X

X

JDBC 4.0

X

X

JavaDB 10.5.3

X

X

Web Administration Console and CLI

X

X

Active Redeployment (Maintain session state on application redeploy)

X

X

OMG CORBA APIs 3.0

X

X

Debugging Support for Other Languages 1.0

X

X

Common Annotations for Java 1.1

X

X

Dependency Injection for Java 1.0

X

X

Managed Beans 1.0

X

X

Interceptors 1.1

X

X

Contexts and Dependency Injection for Java 1.0 (CDI, ex-Web Beans)

X

X

Bean Validation 1.0

X

X

JAX-RS 1.1 (Jersey)

X

X

EJB 3.1 Full API (Support for Remote Container)

X


Java EE Connector Architecture 1.6

X


JAX-WS 2.2

X


JAXB 2.2

X


Implementing Java Web Services 1.3

X


Web Services Metadata for the Java Platform 2.1

X


JMS 1.1

X


JavaMail 1.4

X


JACC 1.4

X


Java Authentication Service Provider Interface for Containers 1.1

X


Java EE Application Deployment 1.2

X


J2EE Management 1.1

X


JAX-RPC 1.1

X


JAXR 1.0

X


CORBA 3.0.0

X

*

Metro

X


* The Full Java EE Platform contains the complete CORBA package. The OMG CORBA v3.0 APIs are available in the Java EE Web Profile.
** Transaction propagation not supported

How do I install and use GlassFish Server 3.1?

See the Installation Guide for installation steps, and the Quick Start Guide to get up and running quickly. For the entire documentation set for the Open Source Edition, try the all-in-one documentation archive. Other resources include several blogs.

How do I get help with GlassFish Server 3.1?

GlassFish Server Open Source Edition 3.1 is supported by the community. Contact the GlassFish user mailing list or the GlassFish Forum with any issues, comments, or questions. Also, see the GlassFish Community wiki documentation. The GlassFish Community is standing by to help. Commercial support is also available from Oracle.