This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 7e599ec add Jakarta EE related changes to release notes
7e599ec is described below
commit 7e599ec7ff4494ff4c6a0f0839b5f44b177979ac
Author: Paul King <[email protected]>
AuthorDate: Wed Jan 8 14:34:13 2025 +1000
add Jakarta EE related changes to release notes
---
site/src/site/releasenotes/groovy-5.0.adoc | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/site/src/site/releasenotes/groovy-5.0.adoc
b/site/src/site/releasenotes/groovy-5.0.adoc
index af529f0..3fcf069 100644
--- a/site/src/site/releasenotes/groovy-5.0.adoc
+++ b/site/src/site/releasenotes/groovy-5.0.adoc
@@ -141,6 +141,23 @@ def run() {
public pets = ['cat', 'dog']
----
+=== Jakarta EE support
+
+The `groovy-servlet` module supports:
+
+* Writing servlets as Groovy classes (typically extending
`AbstractHttpServlet`)
+* Writing servlets as Groovy scripts (_Groovlets_)
+* Writing Template-style, JSP-like _Groovy Server Pages_ which combine
(typically) HTML with Groovy control-logic within special tags
+
+Groovy 5 defaults to Jakarta EE versions of the Servlet-related standards.
+This mostly involves using versions of the underlying classes with different
+package names.
+When writing Groovlets or GSPs, the change in package name might not be
apparent
+but the underlying classes being used would change.
+
+You can still obtain the older Javax EE versions of the relevant classes using
+the "javax" classifier when specifying your dependency on `groovy-servlet`.
+
=== An Optional Type Checker for Format Strings
The `format` methods in `java.util.Formatter`, and other similar methods,