• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Newbie question

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic