开发者

tomcat server response after continuous interval?

开发者 https://www.devze.com 2023-01-09 18:13 出处:网络
I want in my j2me application that a server check a table in database and send respo开发者_StackOverflownse to the application after some interval. I am using Tomcat as server.

I want in my j2me application that a server check a table in database and send respo开发者_StackOverflownse to the application after some interval. I am using Tomcat as server. Any suggestion how and what way I will implement it?


Do you want tomcat to take initiative to send a response after specific time interval? Are you using Ajax in application. What you can do is in your application, at client side run a thread which can make a request to tomcat after a specific time interval and get a response.

0

精彩评论

暂无评论...
验证码 换一张
取 消