This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi, here i am developing a chat prog in j2me... so i want to know how can i send the data which is typed in mobile... is transfered to servlet..... and also how can recipint recieve the msg... from the servlet... plz any body help..... thanks in advance
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
1) has the Servlet call keeping the session alive until there is a response. (Not really a good way) (Create an HTTPConnection, pass the entered data as a parameter, adding it to the end of the URL String
2) use the SMS messaging API. Not really real time, but like e-mail. But saves connection time, but will probably cost per message by the provider, can be expensive.
3) Use one of the Chat programs already created for Cell Phones (You don't have to recreate anything here).
There are more, but none that I can think of off the top of my head.
hello sir, i am very much happy for ur reply msg ...thanks for ur reply....
but why i've asked is i just really want to see the interface of the program... thats all i dont want to use other's application...
i want to do it my self... and more over i've completed the interface..for the chat application... just now i am able to connect it .. to the local host server(tomcat)... but i am getting an error msg saying that 402:---bad request what should i do for this???
the same error occured in the demo prog... which comes with sun one ME 4 and wirless toolkit..
if u have those application's plz refer to demos/http in that choose localhost:8080 from menu...
so plz solve this proble....
thanks in advance...
Joined: Apr 16, 2005
sir here is specifically showing my prob... plz help me ...