I'm struggling a bit with the servlet vs reactive ...
# spring
b
I'm struggling a bit with the servlet vs reactive vs coroutines setup in spring boot: • servlets have async support out of the box when using virtual threads • servlets support suspend controller methods, but when running test with WebTestClient, RestTestClient or MockMvc, it complains about reactive spring libs not being on class path • I definitely need to call suspend functions from my controllers so do I need a workaround for this what's the recommended setup here? do I need to go with webflux which I'd like to avoid since many APIs are diffferent