wood burning stoves 2.0*
The moose likes Servlets and the fly likes Can my desktop PC be my server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Can my desktop PC be my server?" Watch "Can my desktop PC be my server?" New topic
Author

Can my desktop PC be my server?

Bod Toki
Ranch Hand

Joined: Sep 01, 2006
Posts: 95
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.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
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.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can my desktop PC be my server?