This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
why i don't need the stub and skleton class for spring RMI ?Page Title Module
Spring wraps your remote wannabe object in an adapter class that is a generic remote object, and registers it with the RMI registry. On the client side, Spring uses AOP to look up and invoke the remote wrapper object. The stub for the generic remote object is already generated and provided by Spring.
Have a peek in org.springframework.remoting.rmi.RmiInvocationWrap per & org.springframework.remoting.rmi.RmiClientIntercep tor for more details. Clever stuff if I say so myself.