I want to develop an application where I want to push the messages (or data) to UI from backend Spring boot application.
I have the following requirement -
- Consider there is a REST service that accepts the data from other applications using the POST method.
- This data will be pushed to UI.
OR
Consider that there is a background process running which generate events and we want to push these events to UI.
For this, I came across about the WebSocket component that we can use in the Spring Boot application.
However, is there any other settings required to make it possible to push the incoming data to the UI?
Any help is appreciated.
Thanks,
Avinash Deshmukh