A
A
Alexander Batula2019-12-19 16:18:51
Java
Alexander Batula, 2019-12-19 16:18:51

How to implement a Java application execution process?

Hello!
There is a task: To organize a service for monitoring the state of the application.
That is, I would like to create the ability to display the Progress bar of my application.
For example: The client submitted a request for data updates. and receives progress in response. Which in turn would limit the possibility of submitting another request until the existing progress is completed.
Applications implemented in Spring, WebFlux
I would appreciate any idea.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2019-12-19
@sergey-gornostaev

From the page on which you want to display progress, open an SSE channel with the server, and the backend at different stages of "updating data" generates events sent to this channel.

M
Mikhail Simonishvili, 2019-12-23
@mr_molyar

In general, all progress bars lie as far as I remember, so take a random number and add to the existing percentages, the main thing is to display the beginning and end correctly, none of the ordinary users will guess that this is a banal deception)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question