Hello, I want to send and recieve data between my mobile phone and my desktop pc over an internet connection. I want the mobile phone to make a request on the pc which would in turn return a response to the mobile phone. I'm thinking that running a servlet on the internet in between the two devices would be a poor design as the pc would have to keep checking for requests on the server by the mobile phone. Please any help or suggestions? Thanks.
Although thats not the typical use of a servlet, there is no reason it could not generate a window on the desktop or perform some other kind of notification when a message is received. You would have to watch out for threading issues of course.