Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

other protocols than HTTP

 
Roberto Saccon
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that J2ME supports the HTTP protocol, I would like to port an application, which requires FTP functionality to J2ME. I have read somewhere that J2ME also supports sockets. If this is true than its easy (or at least possible) to implement any other protocol.
My question: Are sockets generally supported, or only on specific devices (which ones ?) or not at all ???
reagrds
Robeto
 
serge masse
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MIDP version 1 does not support TCP sockets but some device manufacturers have added their own Java api's supporting them.
MIDP version 2 defines TCP sockets and server sockets but they are not mandatory, i.e., a device or runtime manufacturer does not have to support them in order to be MIDP2-compliant. So far, most MIDP2 devices support TCP sockets.
This reply only concerns TCP/IP sockets and does not mention other protocols like FTP or JXTA. I leave it to others to describe other protocols for J2ME. The reader could also read the documentation at java.sun.com.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic