×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    4

    need help on developing chat server for J2ME chat client

    Hi ppl, i'm sheetal from m'sia here. I was told about this forum lately by my seniors. they said i can get help here.
    Neway i've already created simple JAVA server and CLIENT. now, i need to develop CHAT CLIENT IN J2ME & using GPRS to establish the connection. whn i develop the client in simple java, i did not use the login form,

    1) how to do login part?
    2) and where does it actually connect?
    3) can i use the same chat server for the J2ME client? (chat server is using socket programming) which protocol should J2ME use to connect to server via GPRS?

    4) i'm using broadband connection in my home, do i need any GPRS modem for my PC so that my server can have public IP?

  2. #2
    Registered User
    Join Date
    Sep 2007
    Posts
    4

    Re: need help on developing chat server for J2ME chat client

    Hello everyone....why am i getting no reply...please i need your help guys...

  3. #3
    Super Contributor
    Join Date
    Jun 2007
    Location
    Mumbai
    Posts
    539

    Re: need help on developing chat server for J2ME chat client

    Hi Sheetal, i have discussed these querry with one Mapetos earlier, u can follow the link and see if u get ur solution, if any more querry after that, post it u will surely get ur reply...

    http://discussion.forum.nokia.com/fo...d.php?t=115587

  4. #4
    Registered User
    Join Date
    Sep 2007
    Posts
    4

    Re: need help on developing chat server for J2ME chat client

    Thanks for the reply....From the thread i guess i can use socket programming..but i still got doubts...hmmm how does the login part works on client side...actually i only need simple login to get nick for the user...so in the chatroom it display nickname..how to do that? any database invloves? Do i need the GPRS modem to setup in pc? Please do reply

  5. #5
    Super Contributor
    Join Date
    Jun 2007
    Location
    Mumbai
    Posts
    539

    Re: need help on developing chat server for J2ME chat client

    Well Sheetal, see if u want login just for sake of Nick name and not security, then u can directly append the name and password data in the url u r sending to server and there u can check it with in database and give the user the access. See database come into picture if number of user increseas, if ur making just for project or test u can simply manage database by writing loging name corresponding to password and nick in a file of xls file.

    As far as GPRS modem on pc is concern, u dont need it, but u do need one public ip on the internet which client can hit as url. Well if u have access of wireless lan and N95 or N80 kind of phone which support WLAN then u can test ur app on these phone on ur pc.

  6. #6
    Registered User
    Join Date
    Sep 2007
    Posts
    4

    Re: need help on developing chat server for J2ME chat client

    Hye prakash thanks for the reply.Glad that i'm getting reply.Hmmm can i ask u something?
    Well u said database is to manage users if they increase,ok fine about it. Let say i have created a database. How to connect my chat server to it? Is it direct connection or have to pass by any drivers such as JDBC driver?
    Lastly if i want to send data such as username n password for login verification...hmmm...does it directly check with the databse or through the server?
    As i said i only created java chat server n client based on tutorials where it doesn't have the login part all..So now i have been assigned to do for mobile user! anyone with the solution please do reply...

  7. #7
    Super Contributor
    Join Date
    Jun 2007
    Location
    Mumbai
    Posts
    539

    Re: need help on developing chat server for J2ME chat client

    Hi Sheetal, well ur client never connect to data base directly, it cant. U have to place a server which will entertain the client request and on client request it will read and write into data base. Your Chat Server can do it for u. And how to connect database depends on wat type of database it is, i havent worked much on database but using java u can do this. I believe u have made ur Server in j2se?

Similar Threads

  1. server in PC and client in mobile
    By soorejmg in forum Mobile Java General
    Replies: 8
    Last Post: 2010-09-17, 11:48
  2. Client Server Async
    By Zaibach in forum Symbian
    Replies: 2
    Last Post: 2006-10-27, 10:06
  3. Send multiple message from client to server
    By Palermo4Ever in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2006-06-19, 11:49
  4. Developing SYNCML server and client
    By moftware in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2003-12-26, 07:17

Posting Permissions

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