You can use mms, http among other tecs. JME provides APIs for lots of different protocols... Take a look at sun's
Java ME website, there you'll find lots of information, tutorials and links and it's a good starting point:
http://java.sun.com/javame/index.jsp
[]s