GlassFish
{{Short description|Application server project}}
{{About|a software product|the freshwater and marine fish|Ambassidae}}
{{Infobox software
| name = GlassFish
| logo = GlassFish logo.svg
| logo size = x64px
| screenshot =
| caption =
| author = Sun Microsystems
| developer = Eclipse Foundation
| released = {{Start date and age|2005|06|06|df=yes}}
| latest release version = {{wikidata|property|reference|P348}}
| latest release date = {{start date and age|{{wikidata|qualifier|P348|P577}}}}
| repo = https://github.com/eclipse-ee4j/glassfish
| programming language = Java
| operating system = Cross-platform
| platform = Java
| language = English
| genre = Application server
| license = Eclipse Public License 2.0 and GPL2 with GNU Classpath Exception
| website = {{Official URL}}
}}
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.{{cite web |url=https://projects.eclipse.org/projects/ee4j.glassfish/who |title=Eclipse GlassFish|website=projects.eclipse.org}} 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).{{cite web|url=https://projects.eclipse.org/projects/ee4j.glassfish|title=Eclipse GlassFish|first=Wayne|last=Beaton|date=10 May 2018|website=projects.eclipse.org}}
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.
History
= Epoch of Sun =
- October 2003 - Sun Microsystems released Sun ONE Application Server 7 {{Cite web|url=https://docs.oracle.com/cd/E19683-01/817-2164-10/index.html|title = Sun ONE Application Server 7 Release Notes}}{{Cite web|url=https://www.serverwatch.com/guides/sun-one-application-server-7-debuts/|title = Sun ONE Application Server 7 Debuts|date = 28 October 2002}} that supports the J2EE 1.3 specification. It is based on the iPlanet Application Server and the J2EE reference implementation{{cite web |url=http://developer.java.sun.com/developer/community/chat/JavaLive/2002/jl0730.html |title=Java Live | July 30, 2002 |website=developer.java.sun.com |access-date=11 January 2022 |archive-url=https://web.archive.org/web/20030204045411/http://developer.java.sun.com/developer/community/chat/JavaLive/2002/jl0730.html |archive-date=4 February 2003 |url-status=dead}} A basic version is free to download, but not open source.
- March 2004 - Sun Microsystems released Sun Java System Application Server 8{{Cite web|url=https://docs.oracle.com/cd/E19518-01/817-6082/relnotes.html|title = Sun Java System Application Server Platform Edition 8 Release Notes}} that supports the J2EE 1.4 specification. In June 2004 update 1 is released.{{Cite web|url=https://docs.oracle.com/cd/E19518-01/817-7422/releasenotes.html|title=Sun Java System Application Server Platform Edition 8 Update 1 Release Notes|website=docs.oracle.com|accessdate=14 April 2023}} 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.{{cite web |last=Sharples |first=Rich |url=https://www.theserverside.com/discussions/thread/31701.html |title=Sun Java System Application Server 8.1 2005Q1 Announced |date=5 February 2005 |website=TheServersSide.com |archive-url=https://web.archive.org/web/20210419173550/https://www.theserverside.com/discussions/thread/31701.html |archive-date=19 April 2021}} 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.{{cite web |url=http://fisheye5.cenqua.com/viewrep/glassfish |title=FishEye: Browsing glassfish/ |website=fisheye5.cenqua.com |access-date=11 January 2022 |archive-url=https://web.archive.org/web/20060203221837/http://fisheye5.cenqua.com/viewrep/glassfish |archive-date=3 February 2006 |url-status=dead}}{{cite web |url=https://netbeans.org/kb/41/glassfish.html |title=Developing and Building Project GlassFish with NetBeans |website=netbeans.org |access-date=11 January 2022 |archive-url=https://web.archive.org/web/20051028104924/https://netbeans.org/kb/41/glassfish.html |archive-date=28 October 2005 |url-status=dead}} Builds of this early version identity themselves in the log as "sun-appserver-pe9.0".{{Cite web|url=https://download.oracle.com/javaee-archive/glassfish.java.net/dev/2005/08/0208.html|title = Server startup}}
- 31 January 2006 - Sun Microsystems released Sun Java System Application Server 8.2.{{cite web |last=Ottinger |first=Joseph |url=https://www.theserverside.com/discussions/thread/38769.html |title=Sun Java System Application Server PE 8.2 has been released |date=31 January 2006 |website=TheServerSide.com |archive-url=https://web.archive.org/web/20210419173557/https://www.theserverside.com/discussions/thread/38769.html |archive-date=19 April 2021}} This version introduced bundling of the Derby database and Fast Infoset for web services.{{Cite web|url=https://docs.oracle.com/cd/E19830-01/819-4707/abqac/index.html|title = What's New in the 8.2 Release (Sun Java System Application Server Platform Edition 8.2 Release Notes)}} 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.{{cite web |last=Lynch |first=Regina |url=https://www.theserverside.com/discussions/thread/40453.html |title=Sun Java System Application Server PE 9.0 has been released |date=15 May 2006 |website=TheServerSide.com|archive-url=https://web.archive.org/web/20200919155333/https://www.theserverside.com/discussions/thread/40453.html |archive-date=19 September 2020}}
- 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.{{cite web|url=https://jcp.org/en/jsr/detail?id=289|title=The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 289|website=jcp.org}}
- 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.{{Cite web|url=http://www.oreillynet.com/onjava/blog/2007/07/jsr_316_java_ee_6_spec_approve_1.html|title=O'Reilly Media - Technology and Business Training|website=www.oreillynet.com|language=en|access-date=2018-11-22}} In this version GlassFish adds new features to ease migration from Tomcat to GlassFish.{{cite web|url=http://blogs.sun.com/jluehe/entry/glassfish_v3_adds_support_for|title=GlassFish v3 adds support for Tomcat-style valves|access-date=2008-09-07|archive-url=https://web.archive.org/web/20080906023755/http://blogs.sun.com/jluehe/entry/glassfish_v3_adds_support_for|archive-date=2008-09-06|url-status=dead}} 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.{{cite web|url=https://www.slideshare.net/pelegri/saved-session-state-in-glassfish-v3-prelude-presentation|title=Saved Session State in GlassFish v3 Prelude|last=Eduardo Pelegri-Llopart|date=5 November 2008}}
= Epoch of Oracle =
The commercially supported version of GlassFish was known as Oracle GlassFish Server,{{cite web|url=http://www.oracle.com/us/products/middleware/application-server/oracle-glassfish-server-faq-071872.pdf|title=Oracle GlassFish Server: Frequently Asked Questions}} 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.{{cite web|url=https://community.oracle.com/welcome|title=Welcome - Oracle Community|website=community.oracle.com}} In 2010, the difference between the commercial and open source edition was already quite small.
- 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.{{cite web|url=https://blogs.oracle.com/theaquarium/glassfish-server-3122-now-available|title=GlassFish Server 3.1.2.2 Now Available|website=blogs.oracle.com |last1=Author |first1=Guest }}
- 12 June 2013 - Oracle Corporation released GlassFish 4.0. This major release brings Java Platform, Enterprise Edition 7 support.{{cite web|url=https://blogs.oracle.com/theaquarium/java-ee-7-glassfish-40-launch-coverage|title=Java EE 7 / GlassFish 4.0 Launch Coverage|website=blogs.oracle.com}}
- 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.{{cite web|url=https://blogs.oracle.com/theaquarium/java-ee-and-glassfish-server-roadmap-update|title=Java EE and GlassFish Server Roadmap Update|website=blogs.oracle.com |last1=Author |first1=Guest }}{{cite news |last=McAllister |first=Neil |url=https://www.theregister.co.uk/2013/11/05/no_commercial_support_for_glassfish_4/ |title=Want a support contract for GlassFish 4.0? Tough luck, says Oracle |date=2013-11-04 |work=The Register}} Commercial customers have instead been encouraged to transition to Oracle's alternative product, Oracle WebLogic Server.
- 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.{{cite web|url=https://blogs.oracle.com/theaquarium/glassfish-server-open-source-edition-41-released-v2|title=GlassFish Server Open Source Edition 4.1 Released!|website=blogs.oracle.com |last1=Author |first1=Guest }}
- 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.{{cite web|url=https://blogs.oracle.com/theaquarium/glassfish-411-is-now-available|title=GlassFish 4.1.1 is now available!|first=David|last=Delabassee|website=blogs.oracle.com}}
- 31 March 2017 - Oracle Corporation released GlassFish 4.1.2. This release includes bug fixes.{{cite web|url=https://blogs.oracle.com/theaquarium/glassfish-412-released|title=GlassFish 4.1.2 Released|first=Yamini|last=Kalyandurga|website=blogs.oracle.com}}
- 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.{{cite web|url=https://blogs.oracle.com/theaquarium/java-ee-8-is-final-and-glassfish-50-is-released|title=Java EE 8 and GlassFish 5.0 Released!|first=David|last=Delabassee|website=blogs.oracle.com}}
= Epoch of Eclipse =
- 2017 Oracle donated the source code to the Eclipse Foundation.{{cite web|url=https://blogs.oracle.com/theaquarium/moving-forward-with-eclipse-glassfish-at-jakarta-ee|title=Moving Forward with Eclipse GlassFish at Jakarta EE|first=Will|last=Lyons|website=blogs.oracle.com}}{{cite web | url=https://www.linux-magazine.com/Online/News/Oracle-Donating-Java-EE-to-the-Eclipse-Foundation | title=Oracle Donating Java EE to the Eclipse Foundation » Linux Magazine }} At Eclipse, Payara was leading the GlassFish project, with support from Oracle and Red Hat.
- 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 2.0. 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.{{cite web|url=https://www.eclipse.org/community/eclipse_newsletter/2019/february/GlassFish_5.1.php|title=Eclipse GlassFish 5.1 is Released - The Eclipse Foundation|first=Christopher|last=Guindon|website=www.eclipse.org}} 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).{{cite web |url=https://www.agilejava.eu/2019/03/18/jakarta-ee-8-status/ |title=Jakarta EE 8 Status |date=18 March 2019 }}
- 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.{{Cite web|url=https://glassfish.org/certifications/jakarta-full-profile/9.0/TCK-Results|title = TCK Results}} 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.{{Cite web |title=GlassFish 7.0 Delivers Support for JDK 17 and Jakarta EE 10 |url=https://www.infoq.com/news/2023/01/glassfish-delivers-support-jdk17/ |access-date=2023-01-10 |website=InfoQ |language=en}} Implements new Jakarta Concurrency specification, and supports JDK 11 but recommends usage of JDK17. The GlassFish 7 development is sponsored to a large degree{{Cite web|url=https://github.com/eclipse-ee4j/glassfish|title=Contributors to eclipse-ee4j/glassfish|website=GitHub|accessdate=14 April 2023}} by the Estonian company OmniFish, which also provides commercial support for GlassFish once again.{{Cite web|url=https://www.infoq.com/news/2022/12/omnifish-jakartaee-glassfish/|title=OmniFish on Providing Support for Jakarta EE 10 and GlassFish 7|website=InfoQ|accessdate=14 April 2023}}{{Cite web|url=https://github.com/eclipse-ee4j/glassfish|title=Eclipse GlassFish|date=31 March 2023|accessdate=14 April 2023|via=GitHub}}
Forks
Over the years several companies forked the GlassFish project and created their own distribution:
= Payara Services =
{{Infobox software
| qid = Q25006661
| name = Payara
| developer = Payara Services Ltd (initial code from Oracle Corporation)
| released = {{Start date and age|2014|10|31}}
| latest release version = 6.2024.9
| latest release date = {{start date and age|2024|9|3}}
| programming language = Java
| language = English
| genre = Application server
| license = Common Development and Distribution License & GNU General Public License
}}
In response to Oracle’s announcement to end commercial support for GlassFish,{{Cite web |title=Home |url=https://www.payara.fish/ |access-date=2023-11-27 |website=Payara Services Ltd |language=en}}{{cite web |title=Java EE and GlassFish Server Roadmap Update (The Aquarium) |url=https://blogs.oracle.com/theaquarium/entry/java_ee_and_glassfish_server |publisher=}}{{cite web |title=GlassFish Became The Killer AppServer And Then Changed The Name : Adam Bien's Weblog |url=http://www.adam-bien.com/roller/abien/entry/glassfish_became_the_killer_appserver |publisher=}} a fork called Payara Server was created and released in October 2014. Payara Server is open source under the same licenses as the original Oracle GlassFish (combined GPL2 + CDDL) and has optional commercial support from Payara Services Ltd., via the Payara Enterprise project.
See also
{{Portal|Free and open-source software|Computer programming}}
- List of application servers
- WildFly (formerly JBoss AS)
- IBM WebSphere Application Server
- Oracle WebLogic Server
- Apache TomEE
- Eclipse Jetty
- Quarkus
- Spring Boot
- Apache Geronimo
- {{slink|List of application servers#Java}}
References
{{Reflist}}
{{GlassFish}}
{{Sun Microsystems}}
{{Oracle}}
{{Java (Sun)}}
{{DEFAULTSORT:Glassfish}}
Category:Web server software programmed in Java
Category:Free software application servers
Category:Sun Microsystems software
Category:Software using the Eclipse Public License
Category:Java enterprise platform
Category:Free software programmed in Java (programming language)