posted 22 years ago
If we consider perfomance then there we have to have a find out a trade off.
If object is very bulky then it is always better to send it by reference.
however by sending object by reference each time you call any method on it ,it actually goes thro' the network. number of network call increases.
Which one is to use is depends on the content of the object.
-Mukund Kulkarni<br /> <br />Sun Certified Java Programmer<br />Sun Certified Java Developer