Advanced Computing in the Age of AI | Thursday, April 25, 2024

GlassFish Server Open Source Edition 4.1 Now Available 

The much-anticipated release of GlassFish Server Open Source Edition 4.1 adds updated platform support, improved developer experience, and new features to the world's first Java EE 7 implementation. A new build of the Java EE 7 SDK includes GlassFish 4.1 and updates to the Java EE 7 Tutorial and Java EE 7 First Cup.

GlassFish remains the most current with Java EE specifications including not only Java EE 7 support, but also the recently refreshed CDI 1.2 and WebSocket 1.1 maintenance releases. GlassFish also supports Java 8, so developers can use the most cutting edge Java EE technologies with the most cutting edge release of Java to date.

While GlassFish 4.1 remains an open-source only release, quality and a productive developer experience remain a key focus. This release includes over 1,000 feature enhancements and bug fixes, addressing issues reported by the community, fixes for better compliance with the Java EE 7 Compatibility Test Suite, and fixed security bugs. Thanks to those developers who participated in the GlassFish 4.1 FishCat program to make GlassFish even better!

This release includes updated builds of 20 projects that are incorporated into GlassFish 4.1. These projects include some important new features:

  • Tyrus (WebSocket 1.1 Implementation). Tyrus 1.8.1 now supports the WebSocket 1.1 specification, which adds a couple of APIs for improved support for Lambda expressions. Tyrus adds some features above and beyond the specification, like throttling the number of open sessions, metrics exposed through JMX, client reconnect, proxy support, optimized broadcasting of a message to all open sockets, and more.
  • Jersey (JAX-RS 2.0 Implementation). Jersey 2.10.4 has been updated with some impressive new features. Jersey brings the OAuth support originally available in Jersey 1.1, and adds a new client-side API for OAuth 1 and 2 support. Jersey has also improved diagnostics with better error reporting, exposes Jersey metrics over JMS, and per-request tracing to a log file or to the HTTP reponse header. Jersey also adds client-side server-sent event reconnect support.
  • Open MQ (JMS 2.0 implementation). Open MQ adds support for communicating over WebSocket. There are two types of WebSocket clients that are supported. First, mqstomp, which adds support for any WebSocket client that supports the STOMP 1.2 protocol. Second, mqjsonstomp, which enables a (WebSocket) client to send JSON formatted messages using the STOMP 1.2 protocol.

 

The Java EE 7 SDK has been updated to make it more approachable overall. First, it is shipped as a zip bundle, offering a very simple installation process. The SDK also bundles GlassFish 4.1 and now supports Java 8. Last, the Java EE 7 SDK bundle includes updates to both the Java EE 7 Tutorial and Java EE 7 First Cup.

In summary, GlassFish 4.1 offers updated platform support, improved quality, new features and is bundled in the refreshed Java EE 7 SDK. GlassFish 4.1 can be downloaded from glassfish.org, and the Java EE 7 SDK can be downloaded from the Oracle Technology Network (OTN).

EnterpriseAI