Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News GlassFish 7.0 Delivers Support for JDK 17 and Jakarta EE 10

GlassFish 7.0 Delivers Support for JDK 17 and Jakarta EE 10

The Eclipse Foundation has released the latest version of its open-source application server, GlassFish 7.0, which is now available. The new release includes support for the MicroProfile Config, MicroProfile JWT Propagation, and Jakarta MVC 2.1 specifications. Changes to the API and JSON parts of the Jakarta Standard Tag Library and new Jakarta Authentication methods are also essential features. In addition, GlassFish 7.0 allows concurrent task monitoring intervals to be tuned. It is fully compatible with Jakarta EE 10 and requires at least JDK 11 to run, though it is also compatible with JDK 17.

The DOL (Deployment Object Library) module in GlassFish 7.0 has been completely redesigned and cleaned up inside. Through this work, years of technical debt were paid off, and different parts of the application server were updated, making it faster and more stable overall.

GlassFish 7.0 has made a number of improvements to its performance and reliability. These include making changes to how it handles exceptions and log messages and adding new features to make certain tasks easier and more efficient. The application has also been updated to use newer technologies and methods in some areas, which makes it work better and be more compatible.

A few such examples are: GlassFish 7.0 has a number of updates and improvements to its features, such as an upgrade to Soteria 3.0.1, the addition of the SimpleJndiName value object to cut down on copying and pasting and make common conversions easier, and the use of the inner JavaNamespace class instead of a HashMap in the GlassfishNamingManagerImpl class. Also, the ActiveJmsResourceAdapter class has been fixed so that port and timeout values are set correctly as numbers, and the JdbcDataSource class has implemented JDBC4 methods rather than throwing a NotImplementedException.

This release includes the use of more generics and the removal of the testMode from SerialContext (provides access to the app server naming service) in favor of EasyMock.

GlassFish 7.0 fixes many problems with the application server's logging, especially when logging under a massive load and at a detailed log level. This change ensures the logging system remains stable and works well in challenging situations.

In addition to the updates and improvements, GlassFish 7.0 also provides updates for a number of components that are not part of Jakarta EE. Notably, the OSGi version has been updated from version 7 to version 8. Also, a number of bugs have been fixed in this release, which makes the application server even more stable and reliable.

Nonetheless, GlassFish 7.0 has also made changes to how its servers start and stop to improve compatibility with modern operating systems and environments with restricted access. These updates ensure that GlassFish servers can be easily started and stopped without encountering issues or errors.

In conjunction with all of these updates and improvements, GlassFish 7.0 has also resolved a staggering amount of issues. For developers who want to learn more about the specific changes made in this release, the release notes and the option to download GlassFish 7.0 are available. These resources provide details about the new features and bug fixes in this version of the application server.

About the Author

Rate this Article