Updates
Latest Tweet
What's New?
Check out for latest innovation, a computer based training video collection
Like this Page
Java RMI Review by D. Andreou
Probably Outdated
RMI has evolved a lot from 2001, this book is rather outdated.
But I'll only comment on the serialization chapter (10).
It gives some bad advice for doing serialization (read Effective Java for that), and even has this passage, commenting on the internals of java.util.ArrayList, which is serializable, and has an internal Object[] field marked as "transient".
"But hidden in here is a huge problem: ArrayList is a generic container class whose state is stored as an array of objects. While arrays are first-class objects in Java, they aren't serializable objects."
That's the reason he thinks it is marked as transient. Well, serializing arrays worked from day 1 (depending on the element references being serializable themselves of course), and this just reveals a big misunderstandment on the author's part about the code he read. (Surely enough, an ArrayList's internal array can be far bigger than its actual contents, so it would be a bad idea to depend on default serialization for this field).
This sort of stuff just doesn't boost my trust.