[
https://issues.apache.org/jira/browse/ISIS-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16786768#comment-16786768
]
Andi Huber commented on ISIS-2102:
----------------------------------
Hi Jörg!
Designing an API for this feature really gives me some headaches. ;)
In the meantime I've done a little write-up at top of [1] to layout what I
already have working. This is by no means mature yet, but I hope that by using
this feature in some of my own projects gives me more insight on how to improve
on this.
Regarding your particular use-case, as long as you can write your own
java-script code (client side), you should be able to make use of the
infrastructure provided by the 'SSE Servlet' and the 'EventStreamService'.
Also if you or [~danhaywood] have same comments on my prototype as described in
[1] which currently lives in the '2102_SSE' branch, please share your ideas!
[1] https://github.com/apache/isis/blob/2102_SSE/migration-notes.adoc
> Support for Server Sent Events (SSE)
> ------------------------------------
>
> Key: ISIS-2102
> URL: https://issues.apache.org/jira/browse/ISIS-2102
> Project: Isis
> Issue Type: New Feature
> Components: Core: Viewer: Wicket
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-M3
>
>
> We allow a ViewModel to subscribe to a server-side EventStream in order to
> receive updates, until the EventStream gets closed.
> Use-case: Allows for Background-Tasks to fire UI-Events that update a
> client-side progress-bar.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)