Hi, Impl: https://github.com/wicketstuff/core/blob/master/wicket-html5-parent/wicket-html5/src/main/java/org/wicketstuff/html5/eventsource/EventSourceResource.java Demo: https://github.com/wicketstuff/core/tree/master/wicket-html5-parent/wicket-html5-examples/src/main/java/org/wicketstuff/html5/eventsource
On Thu, Feb 13, 2025 at 2:12 PM Wayne W <waynemailingli...@gmail.com> wrote: > Hi, > > We have a used-case for using SSE but want to use it within the wicket > framework so we don't have the headache of keeping client side in sync with > the wicket session. > > I see apache causage as some kind of lib, but that's Spring based which we > are not. > > Has anyone implemented their own or know of a library that supports wicket > well? > > We simply want to be able to stream back content to the page over a long > period of time and don't want to use polling vja ajax. > > We are currently using websockets but it has complications around keeping > it in sync with the wicket session. > > java.util.stream.Stream is natively supported now, just not sure how to > plug into Wicket > > Thanks >