Skip to content

Migrate to Jakarta Servlet 5.0#205

Merged
pavelhoral merged 2 commits intoWrenSecurity:mainfrom
karelmaxa:migrate-jakarta-ee-servlet
Jul 30, 2025
Merged

Migrate to Jakarta Servlet 5.0#205
pavelhoral merged 2 commits intoWrenSecurity:mainfrom
karelmaxa:migrate-jakarta-ee-servlet

Conversation

@karelmaxa
Copy link
Copy Markdown
Member

This PR introduces the first part of migration to the Jakarta EE specification. The main goal is to provide Tomcat 10 support.

The PR contains two significant changes:

  • Package javax.servlet has been migrated to jakarta.servlet (Jakarta Servlet 5.0)
  • Package javax.security.auth.message has been migrated to jakarta.security.auth.message
  • Tomcat in the Docker image has been upgraded to version 10.x.

Some external binaries were not migrated to the Jakarta EE specification, so I manually migrated them to the Jakarta Servlet 5.0 specification using the Eclipse Transformer. These binaries can be identified by the jakarta1 suffix in the version.

After the change, I created a new build and verified that none of the old packages were included in the binary artifacts. The new build passed all the tests in the wrenam-test repository.

@karelmaxa karelmaxa requested a review from pavelhoral July 17, 2025 13:36
@karelmaxa karelmaxa force-pushed the migrate-jakarta-ee-servlet branch from bc2ac6e to db11d07 Compare July 28, 2025 09:18
Copy link
Copy Markdown
Member

@pavelhoral pavelhoral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Changes look good, basic tests pass. I would like to run more system tests, however that can be done later.

@pavelhoral pavelhoral merged commit 2cc56eb into WrenSecurity:main Jul 30, 2025
2 checks passed
@karelmaxa karelmaxa self-assigned this Sep 17, 2025
@karelmaxa karelmaxa deleted the migrate-jakarta-ee-servlet branch October 14, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants