/Users/lyon/j4p/src/net/compute/ComputableObject.java

1    package net.compute; 
2     
3    import java.io.Serializable; 
4     
5    // a = f(b) 
6    // the lhs cannot be assigned until 
7    // the rhs is computed. 
8    // so launch f(b) on a machine called 
9    // compute server. Wait on the 
10   // compute client until the computation 
11   // is completed. Then make the assignement. 
12   // So transmit a computable object to 
13   // the computation server and wait for an 
14   // answer! 
15    
16   public interface ComputableObject 
17           extends Serializable { 
18       public Serializable compute(); 
19   }