On 11/18/25 09:05, Nils Breunese wrote:


Op 18 nov 2025, om 14:33 heeft Tommy Svensson <[email protected]> het volgende 
geschreven:

...snip

Can anyone suggest an alternative ? I just want to be able to do HTTP/S 
requests and receive HTTP/S requests. This in its simplest form possible.

For doing requests: Java has HttpClient built-in since JDK 11. (In older JDK 
versions you only get HttpURLConnection, which is not fun to work with 
directly.) If JDK HttpClient doesn’t serve your needs, check out Apache 
HttpClient, Jetty HttpClient or Reactor Netty HttpClient.

For receiving requests: the JDK has a simple HttpServer API. For anything 
slightly serious I’d consider embedding Tomcat, Jetty or Reactor Netty.

I would personally use an application framework like Spring Boot or Quarkus, 
which typically provides integrations like these out of the box, but this might 
be overkill for your use case.

All great answers. I'm going to throw my hat in the ring for Tomcat. Been an in production user, at global finance scale with millions of daily and 1000s of concurrent users*, for more than 20 years, since v4 (possibly v3 and the first releases).

Issues will always be present, in your favorite tooling, even in the tooling you write. They are ever present trade-offs: "Can I live with this?" If the issues you have in Undertow are security related, the trade-offs may be made for you and you'll have to mitigate and chase patches.

HTH,
Tim

* there's always the architecture involved that supports that, horizontally scaled instances, load balancers, session "umbrellas," and a little bit more.


--
Timothy Stone
=============
There are some that call me ... Tim.
Husband, Father, Blogger, OSS, Architect, Wargamer, Home Brewer, and 🤓
Find me on GitLab | GitHub | Linked In | MeWe | GnuPG

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to