In
EJB Richard Monson Book 2nd edition, on Page [335], it states that "The belief is that passing the entity objects to the client avoids unnecessary network traffic by keeping the set and get methods local", OK, I would think "entity object" as simple data object with bunch of fields, getters and setters.
Then it says "it is true that set and get methods of entity objects can introduces a lot of network traffic" on the the same page. Here "entity objects" seems entity bean to me.
the "entity object" is so confusing here, because if it's entity bean, invoking setters and getters has to go through network, if it's not, the 2nd statement is not understandable.
Can somebody explain? Thanks