Answer the question
In order to leave comments, you need to log in
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
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.
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 questionAsk a Question
731 491 924 answers to any question