aspose file tools*
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
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: 12682
    
    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


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can my desktop PC be my server?
 
Similar Threads
how to make my pc as a server
TCP socket communication with wired internet (not WLAN)
running application in C on mobile phone with Android
Sending SMS from PC to MOBILE
Connecting a mobile phone to PC via Bluetooth