This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
"If strict encapsulation is used where even private methods used a standard get<Object> method, you can delay the instantation of the object until it is truly necessary. This concept is particularly important for value objects or other objects used as data transport across a network. This practice minimizes the amount of RMI serialization overhead as well as reducing network traffic."
This is taken from a book. I dont understand how encapsulation where private attributes are accessed thru getters will result in lazy instantiation and how it helps avoid RMI serialization? Please throw some light on this.
What a man is a man who doesnt make his world better