openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <>
Subject Re: Support of JAX-RS 2.1 SSE using CXF
Date Thu, 01 Feb 2018 06:03:53 GMT
Hello Aaron,

AFAIK it works yes and since we are tomcat it is just a matter of adding
the right jars and dependencies - same than websockets setup which requires

Atmosphere has a tomcat integration too - another jar to add.

Le 1 févr. 2018 06:33, "Aaron Anderson" <> a écrit :

Hi All,

I was wondering if Meecrowave supports JAX-RS 2.1 SSE? After adding
cxf-rt-rs-sse to my Maven runner POM I am able to add all the annotation to
my endpoint and invoke it via a JavaScript EventSource but the injected
SseEventSink and Sse values are null.

The CXF example manually registers a CXF servlet so I wonder if that is the
issue. Also the CXF project depends on Atmosphere (which I had to add to
the scanning-package-exclude list) which I think only works with Jetty and
not Tomcat.

Any insight is appreciated. I do have Tomcat Web Sockets working but it
would be nice to have SSE working in JAX-RS so I can easily have a
reference in the endpoint to send interactive updates.



View raw message