I am trying to migrate some Servlets from javax libraries to jakarta. Changes are pretty straightforward but, when I try to run them on Wildfly 23, I get this error message: Servlet JAX-WS-Service of type class com.sun.xml.ws.transport.http.servlet.WSServlet does not implement javax.servlet.Servlet This happens for this servlet (used for JAXWS, but that’s not the point) but also with my own servlets,
Tag: undertow
Undertow: Using existing Servlet instance
I am trying to replace in an existing application the embedded web server with Undertow as the old does not work correctly in some cases. The embedded web server is used to server a few simple servlets. My main problem is that I can’t find a way to register an existing HttpServlet instance in Undertow. All API methods I was
How can I broadcast a message to all clients connected to an Undertow websocket server?
This is my current setup for an Undertow websocket server: This is copied from one of their demo files. I believe onFullTextMessage here broadcasts any messages it receives to all clients. I want to be able to trigger this behavior on demand. So instead of having to receive a message and using an event handler to send out more messages,