Client-Side Receiving and Processing of Push Messages in a Vaadin App

Hi,
I’m looking for a solution that allows me to receive in the client side, and in the background even when the app/page is not open, some push messages sent by a server and act upon them. Is that possible in Vaadin?

So far whatever I have seen in the web has been either sending some notifications (like with @Push annotation) when the app is active, or sending VAPID push messages from the server, like this repository: https://github.com/marcushellberg/vaadin-web-push

Is there any solution, preferrably mostly in Java, that can help me? Assume a scenario like this: The server sends a message every 6 hours. The client receives and checks the message: If it’s a certain text, a notification is shown in the user’s browser. So it should be running continuously.

Many thanks

Best

Alireza Ghasemi:
Hi,
I’m looking for a solution that allows me to receive in the client side, and in the background even when the app/page is not open, some push messages sent by a server and act upon them. Is that possible in Vaadin?

So far whatever I have seen in the web has been either sending some notifications (like with @Push annotation) when the app is active, or sending VAPID push messages from the server, like this repository: https://github.com/marcushellberg/vaadin-web-push

Is there any solution, preferrably mostly in Java, that can help me? Assume a scenario like this: The server sends a message every 6 hours. The client receives and checks the message: If it’s a certain text, a notification is shown in the user’s browser. So it should be running continuously.

Many thanks

Best

Did you find any solutions?

Yash Shah:

Alireza Ghasemi:
Hi,
I’m looking for a solution that allows me to receive in the client side, and in the background even when the app/page is not open, some push messages sent by a server and act upon them. Is that possible in Vaadin?

So far whatever I have seen in the web has been either sending some notifications (like with @Push annotation) when the app is active, or sending VAPID push messages from the server, like this repository: https://github.com/marcushellberg/vaadin-web-push

Is there any solution, preferrably mostly in Java, that can help me? Assume a scenario like this: The server sends a message every 6 hours. The client receives and checks the message: If it’s a certain text, a notification is shown in the user’s browser. So it should be running continuously.

Many thanks

Best

Did you find any solutions?

No :smiley: