GridGain certainly does it (and has been for the last 4 years). The best way is too look at examples and our JavaDoc as starting points.