Chapter 6. Advanced HTTP Techniques

CHAPTER OVERVIEW

  • The Decorator Approach

  • The Process-Chain Approach

  • Session Tracking via HTTP Cookies

  • HTTP Basic Authentication

  • HTTP Digest Authentication

  • Secure HTTP

In the previous three chapters, we used HTTP to transport text and binary data back and forth between mobile devices and backend servers. HTTP is crucial in end-to-end mobile commerce solutions, since it is ubiquitously supported by today’s application servers, gateway servers, and mobile devices. Emerging integration standards such as XML Web Services are all based on HTTP. However, HTTP was originally designed to carry stateless and unencrypted HTML content to anonymous Internet surfers. J2ME, especially the MIDP, supports only the most basic HTTP features. ...

Get Enterprise J2ME™: Developing Mobile Java™ Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.