Spring/Server - RMI producer
Spring/Client- RMI consumer
both are using Spring framework
the server expose RMI exporter bean and the client consume via ProxyFactory.
the server also use Spring 3.1 Profile feature that loads the RMI context only when the profile of "rmi" is selected (false by default)
there is also Java\RmiExample project that include the server and the client(without Spring)