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 ?
posted 15 years ago
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