GlassFish

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Hbrednek (talk | contribs) at 16:49, 3 November 2019 (→‎Releases). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

GlassFish
Developer(s)Eclipse Foundation (donated code from Oracle Corporation) (initial code from Sun Microsystems)
Initial release6 June 2005; 18 years ago (2005-06-06)
Stable release
5.1 / 28 January 2019; 5 years ago (2019-01-28)
Repository
Written inJava
Operating systemCross-platform
Available inEnglish
TypeApplication server
LicenseEclipse Public License & GNU General Public License
Websitegithub.com/eclipse-ee4j/glassfish

GlassFish is an open-source application server project started by Sun Microsystems for the Java EE platform, then sponsored by Oracle Corporation, and now living at the Eclipse Foundation and supported by Payara, Oracle and Red Hat.[1] The supported version under Oracle was called Oracle GlassFish Server. 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. After having been transferred to Eclipse, GlassFish remained dual-licensed, but the CCDL license was replaced by the Eclipse Public License (EPL).[2]

Overview

GlassFish is the reference implementation of Java EE and as such supports Enterprise JavaBeans, JPA, JavaServer Faces, JMS, RMI, JavaServer Pages, servlets, etc. This allows developers to create enterprise applications that are portable and scalable, and that integrate with legacy technologies. Optional components can also be installed for additional services.

Built on a modular kernel powered by OSGi, GlassFish runs straight on top of the Apache Felix implementation. It also runs with Equinox OSGi or Knopflerfish OSGi runtimes. HK2 abstracts the OSGi module system to provide components, which can also be viewed as services. Such services can be discovered and injected at runtime.

GlassFish is based on source code released by Sun and Oracle Corporation's TopLink persistence system. It uses a derivative of Apache Tomcat as the servlet container for serving Web content, with an added component called Grizzly which uses Java New I/O (NIO) for scalability and speed.

Releases

Sun Microsystems launched the GlassFish project on 6 June 2005. On 4 May 2006, Project GlassFish released the 1.0 version (a.k.a. Sun Java System Application Server 9.0) that supports the Java EE 5 specification.

On 8 May 2007 Project SailFin was announced at JavaOne as a sub-project under Project GlassFish. Project SailFin aims to add Session Initiation Protocol (SIP) servlet functionality to GlassFish.[3]

On 17 September 2007 the GlassFish community released version 2.0 (a.k.a. Sun Java System Application Server 9.1) with full enterprise clustering capabilities, Microsoft-interoperable Web Services.

On 21 January 2009 Sun Microsystems and the community released version GlassFish 2.1 (a.k.a. Sun GlassFish Enterprise Server 2.1) which serves as the basis for the Sailfin 1.0 (a.k.a. Sun Communication Application Server 1.0).

SailFin 2.0 (a.k.a. Sun Communication Application Server 2.0) which was released on 28 October 2009 leverages GlassFish 2.1.1 (a.k.a. Sun GlassFish Enterprise Server 2.1.1) and adds a number of features including high availability, rolling upgrade, flexible network topology, better overload protection, Diameter support, improved diagnosability, Java based DCR files for the load balancer, and more.

On 10 December 2009 GlassFish 3.0 (a.k.a. Sun GlassFish Enterprise Server 3.0) was released. Being the Java EE reference implementation, this was the first application server to completely implement Java EE 6 JSR 316. JSR 316 was however approved with reservations.[4] In this version GlassFish adds new features to ease migration from Tomcat to GlassFish.[5] The other main new features are around modularity (GlassFish v3 Prelude already shipped with an Apache Felix OSGi runtime), startup time (a few seconds), deploy-on-change (provided by NetBeans and Eclipse plugins), and session preservation across redeployments.[6]

On 25 March 2010, soon after the acquisition of Sun Microsystems, Oracle issued a Roadmap for versions 3.0.1, 3.1, 3.2 and 4.0 with themes revolving around clustering, virtualization and integration with Coherence and other Oracle technologies. The open source community remains otherwise unaffected.

On 28 February 2011, Oracle Corporation released GlassFish 3.1. This version introduced support for ssh-based provisioning, centralized admin, clustering and load-balancing. It maintains its support for both the Web Profile and full Java EE 6 Platform specifications.

On 28 July 2011, Oracle Corporation released GlassFish 3.1.1. This is fix release for GlassFish 3.1 with multiple component updates (Weld, Mojarra, Jersey, EclipseLink, ...), JDK 7 support, AIX support and more.

On 29 February 2012, Oracle Corporation released GlassFish 3.1.2. This release includes bug fixes and new features including administration console enhancements, transaction recovery from a database and new thread pool properties.

On 17 July 2012, Oracle Corporation released GlassFish 3.1.2.2. This is a "micro" release to address some exceptional issues in the product.[7]

On 12 June 2013, Oracle Corporation released GlassFish 4.0. This major release brings Java Platform, Enterprise Edition 7 support.[8]

On 9 September 2014, Oracle Corporation released GlassFish 4.1. This release includes many bug fixes (over a thousand) and the latest MR releases of CDI and WebSockets.[9]

On 7 October 2015, Oracle Corporation released GlassFish 4.1.1. This release includes many bug fixes and security fixes as well as updates to many underlying components.[10]

On 31 March 2017, Oracle Corporation released GlassFish 4.1.2. This release includes bug fixes.[11]

On 21 September 2017, Oracle Corporation released GlassFish 5.0. This release includes Java EE 8 Open Source Reference Implementation and that the Java EE 8 umbrella specification and all the underlying specifications (JAX-RS 2.1, Servlet 4.0, CDI 2.0, JSON-B 1.0, Bean Validation 2.0, etc.) are finalized and approved.[12]

On 29 January 2019, the Eclipse Foundation released GlassFish 5.1. This release is technically identical to Oracle's GlassFish 5.1 but is fully built from the source code that Oracle transferred to the Eclipse Foundation and which was subsequently relicensed to EPL. Like GlassFish 5.0, 5.1 is Java EE 8 certified, but does not have any RI status. The main goal of this release is to prove that all source code has been transferred and can indeed be built into a fully compliant product.[13]

Roadmap and end of Oracle commercial support

The commercially supported version of GlassFish was known as Oracle GlassFish Server,[14] formerly Sun GlassFish Enterprise Server, and previously Sun Java System Application Server (SJSAS) has a history, along with other iPlanet software, going back to Netscape Application Server. This includes code from other companies such as Oracle Corporation for TopLink Essentials. Ericsson's SIP Servlet support is included, the opensource version of it is SailFish, developing towards JSR-289.[15] In 2010, the difference between the commercial and open source edition was already quite small.[15]

On 4 November 2013, Oracle announced the future roadmap for Java EE and Glassfish Server, with a 4.1 open-source edition planned and continuing open-sources updates to GlassFish but with an end to commercial Oracle support.[16][17] Commercial customers have instead be encouraged to transition to Oracle's alternative product, Oracle WebLogic Server.

In response to Oracle’s announcement to end commercial support for GlassFish, a fork called Payara Server was created and released in October 2014. Payara Server is open source under the same licenses as GlassFish, but has optional commercial support.

Open-source GlassFish continued under Oracle till version 5.0 (the reference implementation for Java EE 8) after which the source code was donated to the Eclipse Foundation,[18] which released the technically identical but relicensed version 5.1.[13] At Eclipse, Payara is leading the GlassFish project, with support from Oracle and Red Hat.[1]

A GlassFish 5.2 release is planned as a Jakarta EE 8 compatible implementation. Jakarta EE 8 is functionally identical to Java EE 8, but will be created via the Eclipse Specification Process.[19]

See also

Other CDDL-licensed, Java-based services:

Other Java EE application servers:

References

  1. ^ a b "Eclipse GlassFish". projects.eclipse.org.
  2. ^ Beaton, Wayne (10 May 2018). "Eclipse GlassFish". projects.eclipse.org.
  3. ^ "The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 289". jcp.org.
  4. ^ "O'Reilly Media - Technology and Business Training". www.oreillynet.com. Retrieved 2018-11-22.
  5. ^ "GlassFish v3 adds support for Tomcat-style valves".
  6. ^ Eduardo Pelegri-Llopart (5 November 2008). "Saved Session State in GlassFish v3 Prelude".
  7. ^ Author, Guest. "GlassFish Server 3.1.2.2 Now Available". blogs.oracle.com. {{cite web}}: |last= has generic name (help)
  8. ^ Author, Guest. "Java EE 7 / GlassFish 4.0 Launch Coverage". blogs.oracle.com. {{cite web}}: |last= has generic name (help)
  9. ^ Author, Guest. "GlassFish Server Open Source Edition 4.1 Released!". blogs.oracle.com. {{cite web}}: |last= has generic name (help)
  10. ^ Delabassee, David. "GlassFish 4.1.1 is now available!". blogs.oracle.com.
  11. ^ Kalyandurga, Yamini. "GlassFish 4.1.2 Released". blogs.oracle.com.
  12. ^ Delabassee, David. "Java EE 8 and GlassFish 5.0 Released!". blogs.oracle.com.
  13. ^ a b Guindon, Christopher. "Eclipse GlassFish 5.1 is Released - The Eclipse Foundation". www.eclipse.org.
  14. ^ "Oracle GlassFish Server: Frequently Asked Questions" (PDF).
  15. ^ a b "Welcome - Oracle Community". community.oracle.com. {{cite web}}: no-break space character in |title= at position 10 (help)
  16. ^ Author, Guest. "Java EE and GlassFish Server Roadmap Update". blogs.oracle.com. {{cite web}}: |last= has generic name (help)
  17. ^ The Register -- Want a support contract for GlassFish 4.0? Tough luck, says Oracle, 2013-11-04.
  18. ^ Lyons, Will. "Moving Forward with Eclipse GlassFish at Jakarta EE". blogs.oracle.com.
  19. ^ "Jakarta EE 8 Status". 18 March 2019.

External links