Skip to content

7.0.4

Compare
Choose a tag to compare
@arjantijms arjantijms released this 27 Apr 13:58
· 1952 commits to master since this release

Eclipse GlassFish is an application server, implementing Jakarta EE. This release is corresponding with the Jakarta EE 10 specification, which is a major new feature release. Jakarta EE 10 requires JDK 11 as a minimum, but also works on JDK 17.

GlassFish 7.0.4 is a final release, containing final Jakarta EE 10 APIs. It compiles and runs on JDK 11 to JDK 20. MicroProfile support requires JDK 17 or higher.

Release overview

The main features of this release are important bug fixes for things like a class loader leak, and again several fixes in the admin console such as the ability to upload a war file. Jakarta EE components have been updated for Persistence and Jason Binding. Auxilary components for JWT- and JSON parsing have also been updated, as well as implementation of the Stax XML "pull" API.

A new feature for ScatteredArchive has been added, which allows the following;

        final GlassFishProperties gfProperties = new GlassFishProperties();
        gfProperties.setPort("http-listener", 18080);

        GlassFish glassfish = GlassFishRuntime.bootstrap().newGlassFish(gfProperties);
        glassfish.start();

        ScatteredArchive archive = new ScatteredArchive("simpleapp", ScatteredArchive.Type.WAR);

        archive.addCurrentClassPath(); 
        /* HERE: without this method, each classpath element would have to be discovered 
                       and added to the classpath manually using archive.addClasspath()
        */

        final Deployer deployer = glassfish.getDeployer();

What's Changed

New features

  • Add Methods to build classpath of ScatteredArchive from the current classpath by @OndroMih in #24377

Fixes

Component updates

Project refactoring and maintenance

New Contributors

Full Changelog: 7.0.3...7.0.4