Re: UnderTow

Timothy Stone <[email protected]> Tue, 18 Nov 2025 09:41:59 -0500
Newsgroups gmane.comp.jakarta.turbine.maven.user
Message-ID <[email protected]>
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
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEuXDeIkB+8NutWXTqBHiyrlrRxqYFAmkchbgFAwAAAAAACgkQBHiyrlrRxqYj
YA//VcweUuSHclwbUWT8NeKmeGs76z8v8XVFZ868PR58k1KL3pGf1eKM4hTWbNajkv5aj4WKigUI
vZTuXCmQGLW3CMu4zj/SMz/rfjmL7sAQuU2ZFyD6yl1/Mio6nKJsaHugIsyIKKquRMVLkbG/a0ZN
qgy+ZrvGCXdKhHa0/8A4HjZmHwvJbsE5ZK1oY38YmWObuY1h6loFvtyhSoNWCs1W0O0zt6wl9Ni5
VY5K7tvwD7y0MeyAXBz+L87Az3O7KAvG9EUwvhp1RMjxaJeAMt2xiQTj7eky/1osSKEuNHcK0J2n
4BPAuobuJhdcAId5IxWRiR9ilGofktB8qbc3SbMbcgNKRLlrtrrogr85fCvfS3BC4gXfjHB1tQiC
FhTAJYOwFC5xA2/SFBQ8QeEUdpp5mbGxxX70BX6UOAzviSIVZJoktta/DqO9HhetNfdhK1nN58xJ
pMBCeOVPGQUshvOuOzuhB8c4l9ymPMT2EeDLd9xXBnbPWrrb8AnibELFldtQtpXJBHkiPaWJG7tl
k5ZTYMLkzdE041AZwIJvQ65tdOzqJxPAUu6M5DwhqLAeQWFrO+p/Wtqf5qaLAJeX+4XTni90GDhp
Rr2injOtyfI/fhDsqFd+exCMAoM2QrWix54Ted/jz37kbNiezdfnPZwPzoyUmL2gpaSJHUc4d2NO
5J8=
=TExA
-----END PGP SIGNATURE-----