File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes thow some light Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "thow some light" Watch "thow some light" New topic
Author

thow some light

vijay kumarV
Greenhorn

Joined: Oct 28, 2006
Posts: 9
"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
JigaR Parekh
Ranch Hand

Joined: May 23, 2005
Posts: 112
Is this from any ejb book?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: thow some light
 
Similar Threads
what's the practical use of Serialization?
Object Serialization or RMI?
thow some light
What is Serialization?Where we use This?
Object Serialization!