Message Reduction

Let’s look at a simple example of reducing message calls. For later infrastructure comparison, we will use three different distributed-application infrastructures, CORBA , RMI, and a proprietary distribution mechanism using plain sockets and serialization (see Proprietary Communications Infrastructures). In the example, I present a simple server object that supports only three instance variables and three methods to set those instance variables.

Get Java Performance Tuning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.