• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Newbie question

 
Neha Gap
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm a complete newbie, and am just evaluating J2ME right now.
If I want to write a mobile application using J2ME, how will my application communicate with a Java server? Using RMI? Or is it that J2ME applications for mobile devices are written primarily for stand alone apps?

Any help would be greatly appreciated.
Thanks!
Neha.
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A mobile app can run self-contained or client/server based on what it wants to accoumplish. A calculator, for example, probably doesn't need a network connection.

The most common way for mobile apps to talk to a server is as an HTTP client. You can also use lower-level networking protocols. I'm not sure without checking whether RMI is part of the base J2ME package or not.

Most often networking is done as though the J2ME device was using a dial-up modem via the cell phone service provider and establishing a PPP tcp/ip session, but there are other possibilities, including Wi-Fi, Bluetooth, infrared and data cable networking, depending on what the device can support.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic