What's new in version 25.03?
webforJ version 25.03
introduces new capabilities for configuration management, Spring integration options, routing improvements, and Table
component updates.
As always, see the GitHub release overview for a more comprehensive list of changes. Highlighted below are some of the most exciting changes:
New features and enhancements 🎉
Early lifecycle hooks for configuration management
webforJ 25.03
introduces onWillCreate
and onDidCreate
lifecycle hooks that give control over app initialization. These new hooks fire at critical moments during startup – onWillCreate
executes before your app instance is created, while onDidCreate
runs immediately after creation but before serving requests.
These additions solve a common challenge in enterprise applications: performing operations like validating environment variables, configuring logging systems, or establishing database connections at exactly the right moment during startup. With these hooks, you can now modify configuration before it locks, validate prerequisites, and set up resources your app depends on.
For implementation details, see the Lifecycle Listeners documentation.