Ask questions and see you at June, 6th, 8.PM. CET: youtube.com/c/bienadam
Also checkout recent episode:
Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions. Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks
We are developing a system where mobile devices send their location frequently to a JavaEE server. There can be many devices talking to the server at the same time, so scaling is important.
These are the requirements for messages from the device:
This looks like a use case for UDP. If so, how can a JavaEE server listen to UDP? Would you recommend something else that we can do on a JavaEE server? WebSockets might not scale well with many devices, might not deal well with disconnections, and are battery hungry I think. Maybe some sort of "Reverse SSE" if that's a thing?
These are the requirements for the messages from the server:
For this maybe some kind of push notification (how to do this in JavaEE?), asynchronous REST, or SSE seem like candidates. What are your recommendations?
Thanks!