tags:

views:

20

answers:

1

i want in my j2me application that a server check a table in database and send response to the application after some time.I am using Tomcat as server. Any suggestion how and what way i will implement it ?

A: 

Hi Ali,

Do you want to 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 tread which can make a request to tomcat after a specific time interval and get a response.

Jprogyog
@user180152 yes.i am making a application for j2me user in which a servlet will check that connect to the database and looking in a column.when there is new entry(like message)then server will send a response to the servlet. if it send the response to the servlet then i can show it on my j2me application
ali