質問

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?

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top