Loss of RMI Fonctionnality in spring ?
Hello Folks
With Traditionnal RMI I expose RMI Service which manipulate Remote Objects.
Remote obejcts executes Impl on server.
In spring I expose Spring RMI Service which manipulate Serializable Objects.
Serializable Objets executes Impl on client.
Can I Manipulate Spring RMI Objects as simple as RMI Objects ?
If Yes, How ?
OK it's similar to Ricardo's quot;RMI proxiesquot; question but, Perharps Spring new version respond to.
Thanks you for your answers.
Guilhem
Spring RMI Remoting presently does not support passing Remote arguments. Here's the JIRA entry : proj...browse/SPR-982
Presently only Lingo (Spring Remoting over JMS) supports passing arguments by reference. For pass-by-reference, the arguments must either implements java.rmi.Remote or java.util.EventListener. See Metadata+Strategy
I would suggest that you download Lingo and take a look at the test cases. You will find sample code out there that shows you how to pass arguments by reference.
Sanjiv |