r/java • u/tindercylinder • Jun 15 '26
For anyone who used Undertow with Spring Boot 3.x and upgraded to Spring Boot 4.x, what did you replace Undertow with?
/r/SpringBoot/comments/1u6lkii/for_anyone_who_used_undertow_with_spring_boot_3x/
8
Upvotes
4
u/grumpy_purple_midget Jun 16 '26
There is work afoot to maintain the original starter as an independent exercise: https://github.com/jboss-fuse/spring-boot-undertow
1
u/Deep_Age4643 Jun 18 '26
I have been switching between Undertow, Jetty, and Tomcat. I first used undertow, and that gave me good performance. Then I aligned with Jetty, because it worked better with another dependency that also used Jetty.
Now I am on SB4, and undertow isn't an option at the moment, and the Jetty dependency isn't needed, so I am sticking with the default (Tomcat). I guess for specific edge cases one is better than the other, but for regular use they all work more or less the same.
1
u/Tac0w Jun 25 '26
We went with Tomcat, mainly because it's the default anyways.
The only problems we had was with the fact that Tomcat is a lot more strict with URLs that Undertow was (it doesn't allow underscores in hostnames). Probably for the better, but a but annoying to have to deal with.
1
u/revilo-1988 Sep 01 '26
Hatte jemand schon netty versucht
0
u/[deleted] Jun 16 '26
[deleted] — view deleted comment