Chapter 5. Persistent Storage

In This Chapter

All source code for this chapter can be found on the Sams Publishing Website at http://www.mcp.com/info/0-672/0-672-31424-x.

Something that is persistent sticks around, and that's exactly what beans do when they're in persistent storage. Beans brought out of persistent storage are the same as they were before being stored. Storing beans is known as serialization, and restoring beans is sometimes called deserialization. Java does most of the work of serializing and restoring beans for you, but there are times when you need to do some of the work yourself. Java also takes care of keeping track of the version of each saved bean, but you need ...

Get JavaBeans Unleashed 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.