JBoss Remoting does support mobile code, but through any pluggable transport. If the client doesn't have code the server has, the client asks for these class definitions. Same if the server doesn't have client code. Of course, this can be secured as well...