Skip to content

TOMEE-4707 drop the standalone HTTP server from openejb-http - #2945

Open
rzo1 wants to merge 1 commit into
mainfrom
TOMEE-4707
Open

rzo1 wants to merge 1 commit into
mainfrom
TOMEE-4707

Conversation

@rzo1

@rzo1 rzo1 commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

TomEE serves requests through Tomcat's connectors, so the hand written HTTP server in openejb-http is unused attack surface. This removes it along with the unreachable Jetty backend, the httpejbd service and OpenEJBHttpRegistry, keeping everything Tomcat needs: the listeners and registry, the request/response/session types, the servlet and filter adapters, ServerServlet and the CDI listeners.

RsRegistryImpl and OpenEJBHttpWsRegistry extended OpenEJBHttpRegistry and were the non-Tomcat fallbacks in RESTService/WsService, so they go too — openejb-standalone and arquillian-openejb-embedded lose their embedded REST/WS wiring, which is accepted for a major release.

The tests that drove the removed transport over a socket are removed with it; the remaining 14 pass, and all dependent modules still build.

TomEE serves requests through Tomcat's connectors, so the hand written HTTP
server in openejb-http is unused attack surface. Removes it, the unreachable
Jetty backend, the httpejbd service and OpenEJBHttpRegistry.

isTextXml and reformat move to HttpUtil. RsRegistryImpl and
OpenEJBHttpWsRegistry extended OpenEJBHttpRegistry and were the non-Tomcat
fallbacks in RESTService and WsService; both go, so openejb-standalone and
arquillian-openejb-embedded lose embedded REST/WS wiring.

Everything Tomcat needs stays: listeners, the registry, request, response and
session, the servlet and filter adapters, ServerServlet and the CDI listeners.
The tests that drove the removed transport over a socket go with it.
@rzo1
rzo1 requested a review from jungm September 20, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant