June 28, 2005

HTTP and MIDP: Debugging Tips and Tools

Posted at June 28, 2005 11:39 AM in J2ME .

Sun brings us a helpful technical article that gives some ideas and tools on how to debug a HTTP on MIDP. One of the tools is a Java servlet that logs requests so you can see what's going on in the server. If on an emulator or on a server I control, I've always found good luck with using your run-of-the-mill packet sniffer and decoder to see what's really going on. This is similar to that, but would work on a server where you can't sniff packets.

Debugging the MIDP HTTP request-response cycle is one of the challenges that developers face, especially when working with devices on public wireless networks. While developers control the major aspects of an HTTP request, such as the URL and the request type, GET or POST, the underlying system and the network transport can modify requests and responses in unexpected ways. Communication problems may arise that are particularly hard to diagnose.

Debugging MIDP HTTP Requests

Trackback

You can ping this entry by using http://www.mamlambo.com/mt/mt-tb.cgi/526 .

Comments

Post a comment










Remember personal info?