Pregunta

My Javaserver application(Servlet) receive a service request (HTTP) from client and then it should respond to the client in fixed interval time.

How can I send HTTP response every minute to client without having a HTTP request?

¿Fue útil?

Solución

have a look at https://github.com/Atmosphere/atmosphere or Comet/WebSockets

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top