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 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.