• 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

j2me chat server

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey , i want to make chat application for mobile . Any one have idea about server . Which language is easy for biggener im new
 
Saloon Keeper
Posts: 7582
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First off, JME (as J2ME is known now) is dead for mobile devices. You should consider very carefully whether you want to invest time into developing for it.

Secondly, it doesn't matter what language the server is written in. If you're familiar with Java -as your idea of using JME indicates- you might well use that for the server.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:
Secondly, it doesn't matter what language the server is written in. If you're familiar with Java -as your idea of using JME indicates- you might well use that for the server.


+1

Ideally your client should be 'talking' to the server in something like JSON which means you really don't care.
However you should care about server 'push'.
User A sends a chat message, meant for user B
Message goes to server
Server does a lookup to figure out which device is user B
Once identified server pushes the message to user B device

And of course your client should be able to support server push.

If this is not feasible (mainly due to client limitations) you will have to rely on polling.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic