Spring support for RMI so that Services can be transparently exposed through the RMI infrastructure. So it gives a configuration similar to remote EJBs, but there is no standard way for security context or remote transaction. So other security frameworks or custom security can be plugged.

Service can be exported as well imported with some standard classes of SpringFramework. Spring provides 'RmiProxyFactoryBean' to use the RMI service and 'RmiServiceExporter' to export spring managed bean as a RMI service.