This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Data Transfer with Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Data Transfer with Security" Watch "Data Transfer with Security" New topic
Author

Data Transfer with Security

Isaias C. Barroso
Ranch Hand

Joined: Jan 22, 2002
Posts: 165
Hi all,
In the most applications developer by you, what is more used? HTTP or Socket?
I know HTTP is slower than Socket.
When you use Socket, you do a specific protocol for each application?
Best Regards


Isaias
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
First, you can use any arbitary binary protocol over HTTP. This is not limited to sockets.
Second, in many wireless networks, there is no native support for TCP/IP. Sockets are sometimes emulated over HTTP. That makes those sockets slower than HTTP.
Third, HTTP is the only protocol mandated by MIDP v1.0. So, if you want your app to be cross-platform. It is safer to use HTTP.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Isaias C. Barroso
Ranch Hand

Joined: Jan 22, 2002
Posts: 165
Thanks by response Michael, your explanation was very important.
Best Regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Data Transfer with Security