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.
As documents says, I can make HTTP request using J2ME app and talk to Servlet/CGI on web server. But how does the web server sends the response back ? I mean, does this J2ME phones have some sort of IP address or something else to be identified uniquely ?
Remember that there is a gateway sitting between the phone and the Internet. Any HTTP requests that are sent to a web server will come to the web server via the gateway, so to the web server it's really replying to the gateway. The gateway then sends the response back to the phone. That said, some phones can indeed be configured to have an IP address. However, all of that is transparent to your application -- all you know and care about is that you can make an HTTP request and receive a response. ------------------ Eric Giguere author of: Java 2 Micro Edition : A Professional Developer's Guide PalmTM Database Programming: The Complete Developer's Guide