jQuery in Action, 3rd edition
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

Can my desktop PC be my server?

Bod Toki
Ranch Hand

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

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

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Can my desktop PC be my server?
It's not a secret anymore!