Hi!
My company are modernising our Jira plugin to have real-time server-client communication, and are in need of some technology to handle the server-side implementation.
The first options that comes to mind is using WebSockets or Server Sent Events (SSE) for this purpose; however, I have yet to find someone who has gotten WebSockets to work in a Jira context, and I am very uncertain about the applicability of SSE as well.
From what I understand, the two current Java implementations of SSE are JAX-RS 2.1, and Spring 4.2. Version 7.13 of Jira seems to provide OSGi bundles of JAX-RS 1.9 only, so no luck there, while Spring 4.2 is available. Unfortunately, configuring Spring 4.2 for SSE appears to require a DispatcherServlet to be configured, which I haven never managed to get working properly when attempting to set up Spring MVC at an earlier occasion. (One must add to web.xml, which we don't want to touch..)
Does someone have insight or experience with these problems, or any advice as for how to proceed?
Regards, Tormod
Hello Tormod,
We're working on a project like yours. We use async SSE which is work properly in Jira 7.13, but after than we upgrade our development environment to Jira 8 the async servlet stopped working.
Have you been able to solve your problem in some way lately?
Regards Péter
Hi, Péter!
We ended up implementing the SSE protocol for Servlets from scratch using the https://github.com/mariomac/jeasse open source project as heavy inspiration (it only needed some minor tuning).
We are still running on JIra 7.13, however, so I don't know if it will work on Jira 8. If you figure it out, it would be wonderful if you shared your experiences. :-)
Regards, Tormod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.