hilla icon indicating copy to clipboard operation
hilla copied to clipboard

Socket.io with Servlet 5

Open mcollovati opened this issue 3 years ago • 2 comments

fusion-endpoint depends on socket.io-server to provide PUSH feature, but it seems that the transitive dependency engine.io-server does not yet have support for Servlet 5.

mcollovati avatar Apr 28 '22 13:04 mcollovati

At a first glance engine.io-server upgrade to Servlet 5 doesn't seems too complicate

https://github.com/mcollovati/engine.io-server-java/tree/jakarta-servlet

Using the artifact built from the above repository, fusion-endpoint compiles and tests pass

mcollovati avatar Apr 28 '22 15:04 mcollovati

https://github.com/socketio/engine.io-server-java/issues/51

mcollovati avatar May 02 '22 07:05 mcollovati

We are going to try replacing socket.io with WebFlux for Push soon within Servlet 5 migration scope.

mshabarov avatar Oct 10 '22 07:10 mshabarov

What do you mean by WebFlux here? What is used in the browser?

Artur- avatar Oct 10 '22 07:10 Artur-

Covered by https://github.com/vaadin/hilla/pull/597

mshabarov avatar Oct 25 '22 05:10 mshabarov