Chapter 6. Handling Application Data

Understand serialization and persistent storage for application data.

Data and code are the two most important defining aspects of modern computer programs. Smart clients distinguish themselves from thin clients (i.e., Web browsers) by storing and processing data on the device itself. Local persistent data storage allows the mobile device to access application data even when the wireless network is temporarily unavailable. However, persistent storage also poses two big challenges to developers: we first need to convert object-oriented memory data to a linear format that is suitable for storage and transportation; then we have to manage storage resources efficiently, since they are very limited on mobile devices. ...

Get Developing Scalable Series 40 Applications: A Guide for Java Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.