If found this Java World article about RMI compression. To implement the compression it suggests to implement a RMIClientSocketFactory
and a RMIServerSocketFactory
, which seems nice and easy.
Although the article is from 2002 and therefore I am wondering if this is still the State-of-the-art approach.