Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

j2me chat server

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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: 6531
160
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • 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: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • 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.
 
What are you doing in my house? Get 'em tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic