7.0.4
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
- Fix classloader leak when a resource is retrieved by @ctabin in #24369
- Fix reproducible builds by @hboutemy in #24366
- Fix redirections in Admin Console by @OndroMih in #24384
- Fix configuration creation in Admin Console by @avpinchuk in #24385
- Fix config model initialization for interface annotated @configured by @avpinchuk in #24388
- Fix ConfigInjector metadata generation in config-generator maven plugin by @avpinchuk in #24393
Component updates
- Integrate EclipseLink ASM 9.5.0 by @arjantijms in #24378
- Integrate Yasson 3.0.3 by @arjantijms in #24387
- Integrate Nimbus Jose JWT 9.31 by @arjantijms in #24380
- Integrate Jackson 2.15.0 by @arjantijms in #24386
- Integrate Woodstox 6.5.1 by @arjantijms in #24389
- Integrate JSF Template 4.0.1 by @arjantijms in #24390
Project refactoring and maintenance
- Improved ClusterITest - don't remove instances and logs if it failed. by @dmatej in #24374
- Refactor the Enterprise Beans no-interface view bytecode generation by @avpinchuk in #24363
- Refactor around REST resources related to server logs by @avpinchuk in #24371
- Refactor connectors logging by @dmatej in #24361
- Refactor ScatteredArchive tests by @OndroMih in #24382
- Refactor ASURLClassLoader by @ctabin in #24370
- Refactor duck-typed methods in Config API with default methods by @avpinchuk in #24368
- Refactor logging of connectors-internal-api by @dmatej in #24391
- Refactor some of the security code by @arjantijms in #24392
- Removal of SentinelInputStream by @ctabin in #24376
New Contributors
Full Changelog: 7.0.3...7.0.4