×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    76

    Question How to develop chat server in j2me

    Hi friends,
    I want develop a chat server on mobile devices using jsp in j2me.I know jsp also.
    But how to use it in j2me ?
    Can anyone give some idea regarding this application like
    how to start,any tutorials or examples ,any previos thread,any reference links regarding this chat server on j2me?

    Regards,
    Sachin Warang.

  2. #2
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: How to develop chat server in j2me

    sounds like you want to have a chat server on a webserver or server, and a chat client on the device

    it doesnt seem possible to have vice versa

    get a chat client server example, put the chat server on a server accessible from internet

    port the chat client from Java or J2me, or find an example for J2ME

    bang, your done!

    heres an example tailored to Palm OS, but it is j2me, you should also be able to find other examples, just google em

    http://www.oreillynet.com/pub/a/orei...mos2_0301.html
    Jason Glass
    http://IChiBanComputers.Com

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: How to develop chat server in j2me

    Hi Sachin Warang,

    It seems the examples below are close to what you're looking for, just adapt it to your needs.

    MIDP 2.0: Introduction to Using Sockets and Datagrams (With Example)
    http://www.forum.nokia.com/info/sw.n...1_0_1.zip.html

    Another interesting approach:

    Getting Started with JXTA for J2ME
    http://developers.sun.com/techtopics...articles/jxme/

    Universal Chat Client for J2ME Enabled Mobile Devices Using
    the JXME Implementation of JXTA
    http://cng.ateneo.edu/cng/wyu/classe...s/jxmechat.pdf

    BR,

    Juarez Junior
    Last edited by juarezjunior; 2006-04-29 at 22:29.

  4. #4
    Registered User
    Join Date
    May 2006
    Posts
    1

    Re: How to develop chat server in j2me

    Hi,
    I just saw your Thread, I have developed a chat server application in J2ME. Where exactly you are facing problems???

    Regards,
    Rupal

  5. #5
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    76

    Question Re: How to develop chat server in j2me

    Hi Rupal,
    Actualy i just get some tutorials ,which are specified in this thread only.
    Like using JXTA for J2ME to develop such application where you'll need follwing tools

    * J2SE SDK
    * J2ME Wireless Toolkit
    * Ant
    * A CVS client

    But don't give any tutorial to build such application?
    Like how to use CVS and Ant Apache ?

    But i think this will not help as it is a p2p .
    I want application where server(servlet/jsp) came into picture while device(emulator) sending data.

    Have used the same tool?if so can give some detail info. regarding this application?
    If not which tools u've used ?
    And how it works(any simple tutorial)?

    Note:
    I want to build an application where from one (emulator)if i sent some text on server(servlet) then it should go to other(specific emulator )device also.

    Regards,
    Sachin Warang.
    Last edited by sachinwarang; 2006-05-04 at 14:00. Reason: Add some info

  6. #6
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: How to develop chat server in j2me

    Hi

    you might also look at this java servlet chat server example at
    http://www.unix.org.ua/orelly/java-e...et/ch10_03.htm

    also here is a jme chat client as well as a server app using just plain java, altogether, you should be able to get it going...

    http://itp.nyu.edu/~dbo3/cellphone/Text_Net/

    let me know how it works out and good luck again...
    Jason Glass
    http://IChiBanComputers.Com

  7. #7
    Registered User
    Join Date
    Jun 2006
    Posts
    5

    Re: How to develop chat server in j2me

    Hi Friends,

    When i 'm running my mobile Chat Application.

    following error are coming:-

    Connect
    Error connecting to the relay:
    The requested protocol does not exit.
    relay: http://192.18.37.36:9700/unknown-unk...0000000F05/pid

    please suggest what should I do.

    regards
    Anand Awasthi

  8. #8
    Registered User
    Join Date
    Jun 2006
    Posts
    5

    Thumbs down problem in jxme chat

    Hi Friends,

    When i 'm running my mobile Chat Application.

    following error are coming:-

    Connect
    Error connecting to the relay:
    The requested protocol does not exit.
    relay: http://192.18.37.36:9700/unknown-unk...0000000F05/pid

    please suggest what should I do.

    regards
    Anand Awasthi

  9. #9
    Registered User
    Join Date
    Jun 2006
    Posts
    5

    Thumbs down jxme chat application

    Hi Friends,

    When i 'm running my mobile Chat Application.

    following error are coming:-

    Connect
    Error connecting to the relay:
    The requested protocol does not exit.
    relay: http://192.18.37.36:9700/unknown-unk...0000000F05/pid

    please suggest what should I do.

    regards
    Anand Awasthi

  10. #10
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: How to develop chat server in j2me

    you figured it out anand?
    Jason Glass
    http://IChiBanComputers.Com

  11. #11
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: How to develop chat server in j2me

    Hi Anand Awasthi,

    Please let's know which device and operator you're using. Are you sure your APN setting are configured properly?

    Also, please start your own threads and do not hijack other people's thread so that we will keep this forum organized and useful.

    BR,

    Juarez Jr
    Juarez Alvares Barbosa Junior - Brazil

  12. #12
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: How to develop chat server in j2me

    thats funny juarez, i just said something similar in another post about PUSh, i.e.
    start your own threads and do not hijack other people's thread so that we will keep this forum organized and useful.
    Jason Glass
    http://IChiBanComputers.Com

Similar Threads

  1. J2ME Polish Version 1.0 RC6
    By enough in forum Mobile Java General
    Replies: 1
    Last Post: 2004-07-20, 11:25
  2. Help with j2me games!!!
    By angjiyong in forum Mobile Java General
    Replies: 1
    Last Post: 2004-02-02, 18:09
  3. TinyLine SVG Minute Toolkit: Optimizing SVG for J2ME
    By girow in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-05-05, 18:44
  4. TinyLine SVG Minute Toolkit for J2ME: version 1.4 released
    By girow in forum Mobile Java General
    Replies: 0
    Last Post: 2003-05-05, 16:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×