This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
"The Preferences repository has a tree structure, with node path names such as /com/mycom-
pany/myapp. As with package names, name clashes are avoided as long as programmers
start the paths with reversed domain names. In fact, the designers of the API suggest
that the configuration node paths match the package names in your program.
Each node in the repository has a separate table of key/value pairs that you can use to
store numbers, strings, or byte arrays. No provision is made for storing serializable
The API designers felt that the serialization format is too fragile for long-term
storage. Of course, if you disagree, you can save serialized objects in byte arrays."
Core Java Volume I (8th Edition) P.544
Does anyone have an example of using byte arrays to save serialized objects?