GlassFish

Last updated
GlassFish
Original author(s) Sun Microsystems
Developer(s) Eclipse Foundation
Initial release6 June 2005;18 years ago (2005-06-06)
Stable release
7.0.12 [1] / 29 January 2024;36 days ago (29 January 2024)
Repository https://github.com/eclipse-ee4j/glassfish
Written in Java
Operating system Cross-platform
Platform Java
Available inEnglish
Type Application server
License Eclipse Public License or GPL+Classpath exception
Website glassfish.org OOjs UI icon edit-ltr-progressive.svg

GlassFish is an open-source Jakarta EE platform application server project started by Sun Microsystems, then sponsored by Oracle Corporation, and now living at the Eclipse Foundation and supported by OmniFish, Fujitsu and Payara. [2] 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 CDDL license was replaced by the Eclipse Public License (EPL). [3]

Contents

Overview

GlassFish is the Eclipse implementation of Jakarta EE (formerly the reference implementation from Oracle) and as such supports Jakarta REST, Jakarta CDI, Jakarta Security, Jakarta Persistence, Jakarta Transactions, Jakarta Servlet, Jakarta Faces, Jakarta Messaging, 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 non-blocking I/O (NIO) for scalability and speed.

Releases

October 2003 - Sun Microsystems released Sun ONE Application Server 7 [4] [5] that supports the J2EE 1.3 specification. It is based on the iPlanet Web Server and the J2EE reference implementation [6] A basic version is free to download, but not open source.

March 2004 - Sun Microsystems released Sun Java System Application Server 8 [7] that supports the J2EE 1.4 specification. In June 2004 update 1 is released. [8] A basic version is free to download, but not open source.

8 February 2005 - Sun Microsystems released Sun Java System Application Server 8.1 that supports the J2EE 1.4 specification. This version introduced a major update to web services security (a precursor to the later JASPIC and Jakarta Authentication), Admin Console GUI enhancements, JavaServer Faces 1.1 Support (at this point not yet part of J2EE), performance enhancements, and support for Java SE 5.0. [9] A basic version is free to download, but not open source.

6 June 2005 - Sun Microsystems launched the GlassFish project by publishing the vetted source of Sun Java System Application Server. [10] [11] Builds of this early version identity themselves in the log as "sun-appserver-pe9.0". [12]

31 January 2006 - Sun Microsystems released Sun Java System Application Server 8.2. [13] This version introduced bundling of the Derby database and Fast Infoset for web services. [14] A basic version is free to download, but not open source.

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.

15 May 2006 - Sun Java System Application Server 9.0, derived from GlassFish 1.0, is released. [15]

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. [16]

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.

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).

28 October 2009 - SailFin 2.0 (a.k.a. Sun Communication Application Server 2.0) was released which 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.

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. [17] In this version GlassFish adds new features to ease migration from Tomcat to GlassFish. [18] 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. [19]

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.

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.

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.

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.

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

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

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. [22]

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. [23]

31 March 2017 - Oracle Corporation released GlassFish 4.1.2. This release includes bug fixes. [24]

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. [25]

29 January 2019 - the Eclipse Foundation released GlassFish 5.1. This release is technically identical to Oracle's GlassFish 5.0 but is fully build 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. [26]

31 December 2020 - the Eclipse Foundation released GlassFish 6.0.0. This version is functionally largely identical to GlassFish 5.1 but implements Jakarta EE 9. [27] Jakarta EE 9 is functionally identical to Jakarta EE 8 (which is functionally identical to Java EE 8) but has its package and various constants changed from javax.* to jakarta.*

5 May 2021 - the Eclipse Foundation released GlassFish 6.1.0. This version is functionally identical to GlassFish 6.0.0 but implements Jakarta EE 9.1. Jakarta EE 9.1 is functionally identical to Jakarta EE 9 (which is functionally identical to Jakarta EE 8 and Java EE 8) but has support for JDK 11. This release requires JDK 11.

28 August 2021 - the Eclipse Foundation released GlassFish 6.2.1. This version has improved support for JDK 17 and includes a new component Eclipse Exousia, the standalone Jakarta Authorization implementation. GlassFish 6.2.1 compiles with JDK 11 to JDK 17

14 December 2022 - the Eclipse Foundation released GlassFish 7.0.0. This is the first version containing larger refactoring and code cleanup, large amount of bugfixes and also new features. [28] Implements new Jakarta Concurrency specification, and supports JDK 11 but recommends usage of JDK17.

Roadmap and end of Oracle commercial support

The commercially supported version of GlassFish was known as Oracle GlassFish Server, [29] 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. [30] In 2010, the difference between the commercial and open source edition was already quite small. [30]

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. [31] [32] Commercial customers have instead been 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, [33] which released the technically identical but relicensed version 5.1. [26] At Eclipse, Payara is leading the GlassFish project, with support from Oracle and Red Hat. [2]

A GlassFish 5.2 release was planned as a Jakarta EE 8 compatible implementation, but was never released. Jakarta EE 8 is functionally identical to Java EE 8, but was created via the Eclipse Foundation Specification Process (EFSP). [34]

The GlassFish 7 development was sponsored to a large degree [35] by the Estonian company OmniFish, which also provides commercial support for GlassFish once again. [36] [37]

See also

Other CDDL-licensed, Java-based services:

Other Jakarta EE application servers:

Related Research Articles

<span class="mw-page-title-main">Java (programming language)</span> Object-oriented programming language

Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let programmers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need to recompile. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture. The syntax of Java is similar to C and C++, but has fewer low-level facilities than either of them. The Java runtime provides dynamic capabilities that are typically not available in traditional compiled languages.

<span class="mw-page-title-main">OSGi</span> Open standards organisation

OSGi is an open specification and open source project under the Eclipse Foundation.

The Jakarta Messaging API is a Java application programming interface (API) for message-oriented middleware. It provides generic messaging models, able to handle the producer–consumer problem, that can be used to facilitate the sending and receiving of messages between software systems. Jakarta Messaging is a part of Jakarta EE and was originally defined by a specification developed at Sun Microsystems before being guided by the Java Community Process.

<span class="mw-page-title-main">Jakarta EE</span> Set of specifications extending Java SE

Jakarta EE, formerly Java Platform, Enterprise Edition and Java 2 Platform, Enterprise Edition (J2EE), is a set of specifications, extending Java SE with specifications for enterprise features such as distributed computing and web services. Jakarta EE applications are run on reference runtimes, which can be microservices or application servers, which handle transactions, security, scalability, concurrency and management of the components they are deploying.

A web container is the component of a web server that interacts with Jakarta Servlets. A web container is responsible for managing the lifecycle of servlets, mapping a URL to a particular servlet and ensuring that the URL requester has the correct access-rights. A web container handles requests to servlets, Jakarta Server Pages (JSP) files, and other types of files that include server-side code. The Web container creates servlet instances, loads and unloads servlets, creates and manages request and response objects, and performs other servlet-management tasks. A web container implements the web component contract of the Jakarta EE architecture. This architecture specifies a runtime environment for additional web components, including security, concurrency, lifecycle management, transaction, deployment, and other services.

<span class="mw-page-title-main">Apache Tomcat</span> Java-based HTTP web server environment

Apache Tomcat is a free and open-source implementation of the Jakarta Servlet, Jakarta Expression Language, and WebSocket technologies. It provides a "pure Java" HTTP web server environment in which Java code can also run. Thus it is a Java web application server, although not a full JEE application server.

<span class="mw-page-title-main">JAR (file format)</span> Java archive file format

A JAR file is a package file format typically used to aggregate many Java class files and associated metadata and resources into one file for distribution.

Java Management Extensions (JMX) is a Java technology that supplies tools for managing and monitoring applications, system objects, devices and service-oriented networks. Those resources are represented by objects called MBeans. In the API, classes can be dynamically loaded and instantiated. Managing and monitoring applications can be designed and developed using the Java Dynamic Management Kit.

<span class="mw-page-title-main">JOnAS</span>

JOnAS is an open-source implementation of the Java EE application server specification, developed and hosted by the OW2 consortium, having been originally been created by Groupe Bull. JOnAS is released under the LGPL 2.1 open-source license.

WebSphere Application Server (WAS) is a software product that performs the role of a web application server. More specifically, it is a software framework and middleware that hosts Java-based web applications. It is the flagship product within IBM's WebSphere software suite. It was initially created by Donald F. Ferguson, who later became CTO of Software for Dell. The first version was launched in 1998. This project was an offshoot from IBM HTTP Server team starting with the Domino Go web server.

<span class="mw-page-title-main">Java (software platform)</span> Set of computer software and specifications

Java is a set of computer software and specifications that provides a software platform for developing application software and deploying it in a cross-platform computing environment. Java is used in a wide variety of computing platforms from embedded devices and mobile phones to enterprise servers and supercomputers. Java applets, which are less common than standalone Java applications, were commonly run in secure, sandboxed environments to provide many features of native applications through being embedded in HTML pages.

Jakarta Persistence is a Jakarta EE application programming interface specification that describes the management of relational data in enterprise Java applications.

EclipseLink is the open source Eclipse Persistence Services Project from the Eclipse Foundation. The software provides an extensible framework that allows Java developers to interact with various data services, including databases, web services, Object XML mapping (OXM), and enterprise information systems (EIS). EclipseLink supports a number of persistence standards including:

SailFin was an open-source Java application server project led by Sun Microsystems. It implements the JCP SIP Servlet 1.1 specification integrated with the open-source Java EE application server GlassFish.

Java Composite Application Platform Suite (Java CAPS) is a standards-based enterprise service bus software suite from Oracle Corporation. The suite has several components that help to integrate existing applications and deliver new business services in a service-oriented architecture environment. It is a Java EE compliant platform and provides application-to-application integration, business-to-business integration, business process management along with integrated human workflow, an Enterprise Information Portal, extract transform and load (ETL), business activity monitoring and composite application development.

Orion Application Server is a Java EE application server developed by Swedish company IronFlare AB, founded by Magnus Stenman and Karl Avedal. First released in 1999, Orion claims to be the first commercially available application server with full Java EE support. The current stable version is 2.0.7 which is compliant with Java EE version 1.3.

OpenEJB is an open-source, embeddable and lightweight Enterprise JavaBeans Container System and EJB Server, released under the Apache License 2.0. OpenEJB has been integrated with Java EE application servers such as Geronimo and WebObjects.

<span class="mw-page-title-main">WildFly</span> Java application server software

WildFly, formerly known as JBoss AS, or simply JBoss, is an application server written by JBoss, now developed by Red Hat. WildFly is written in Java and implements the Java Platform, Enterprise Edition specification. It runs on multiple platforms.

Payara Server is an open-source application server from GlassFish Server Open Source Edition. Developed in 2014 by C2B2 Consulting, Payara Server was created as a drop-in replacement for GlassFish when Oracle announced the discontinuation of commercial support.

References

  1. "Release 7.0.12". 29 January 2024. Retrieved 20 February 2024.
  2. 1 2 "Eclipse GlassFish". projects.eclipse.org.
  3. Beaton, Wayne (10 May 2018). "Eclipse GlassFish". projects.eclipse.org.
  4. "Sun ONE Application Server 7 Release Notes".
  5. "Sun ONE Application Server 7 Debuts". 28 October 2002.
  6. "Java Live | July 30, 2002". developer.java.sun.com. Archived from the original on 4 February 2003. Retrieved 11 January 2022.
  7. "Sun Java System Application Server Platform Edition 8 Release Notes".
  8. "Sun Java System Application Server Platform Edition 8 Update 1 Release Notes". docs.oracle.com. Retrieved 14 April 2023.
  9. Sharples, Rich (5 February 2005). "Sun Java System Application Server 8.1 2005Q1 Announced". TheServersSide.com. Archived from the original on 19 April 2021.
  10. "FishEye: Browsing glassfish/". fisheye5.cenqua.com. Archived from the original on 3 February 2006. Retrieved 11 January 2022.
  11. "Developing and Building Project GlassFish with NetBeans". netbeans.org. Archived from the original on 28 October 2005. Retrieved 11 January 2022.
  12. "Server startup".
  13. Ottinger, Joseph (31 January 2006). "Sun Java System Application Server PE 8.2 has been released". TheServerSide.com. Archived from the original on 19 April 2021.
  14. "What's New in the 8.2 Release (Sun Java System Application Server Platform Edition 8.2 Release Notes)".
  15. Lynch, Regina (15 May 2006). "Sun Java System Application Server PE 9.0 has been released". TheServerSide.com. Archived from the original on 19 September 2020.
  16. "The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 289". jcp.org.
  17. "O'Reilly Media - Technology and Business Training". www.oreillynet.com. Retrieved 2018-11-22.
  18. "GlassFish v3 adds support for Tomcat-style valves". Archived from the original on 2008-09-06. Retrieved 2008-09-07.
  19. Eduardo Pelegri-Llopart (5 November 2008). "Saved Session State in GlassFish v3 Prelude".
  20. "GlassFish Server 3.1.2.2 Now Available". blogs.oracle.com.
  21. "Java EE 7 / GlassFish 4.0 Launch Coverage". blogs.oracle.com.
  22. "GlassFish Server Open Source Edition 4.1 Released!". blogs.oracle.com.
  23. Delabassee, David. "GlassFish 4.1.1 is now available!". blogs.oracle.com.
  24. Kalyandurga, Yamini. "GlassFish 4.1.2 Released". blogs.oracle.com.
  25. Delabassee, David. "Java EE 8 and GlassFish 5.0 Released!". blogs.oracle.com.
  26. 1 2 Guindon, Christopher. "Eclipse GlassFish 5.1 is Released - The Eclipse Foundation". www.eclipse.org.
  27. "TCK Results".
  28. "GlassFish 7.0 Delivers Support for JDK 17 and Jakarta EE 10". InfoQ. Retrieved 2023-01-10.
  29. "Oracle GlassFish Server: Frequently Asked Questions" (PDF).
  30. 1 2 "Welcome - Oracle Community". community.oracle.com.
  31. "Java EE and GlassFish Server Roadmap Update". blogs.oracle.com.
  32. McAllister, Neil (2013-11-04). "Want a support contract for GlassFish 4.0? Tough luck, says Oracle". The Register .
  33. Lyons, Will. "Moving Forward with Eclipse GlassFish at Jakarta EE". blogs.oracle.com.
  34. "Jakarta EE 8 Status". 18 March 2019.
  35. "Contributors to eclipse-ee4j/glassfish". GitHub. Retrieved 14 April 2023.
  36. "OmniFish on Providing Support for Jakarta EE 10 and GlassFish 7". InfoQ. Retrieved 14 April 2023.
  37. "Eclipse GlassFish". 31 March 2023. Retrieved 14 April 2023 via GitHub.