View Full Version : First Time Remoting Question
11-29-2005, 08:33 PM
I am trying to implement a simple test of the Spring remoting using the example documented at
When I run this example, I get the following
System.Reflection.ReflectionTypeLoadException: One or more of the types in the assembly unable to load.
Spring does create the DLL file.
Has anyone else created a test using this sample?
11-29-2005, 09:06 PM
There are a few glitches in the docs and code there...Bruno was nice enough to just recently to review that example - which really needs to be fleshed out better. The link to that post is http://forum.springframework.net/viewtopic.php?t=277
Let me know if that helps you out. Again, we definitely need to clean that up.
12-30-2005, 02:59 PM
From the 1.1.0 Preview 2 Reference Documentation I am assuming that we still need to have our SAO server object inherit from MarshallByRefObject. I just wanted to confirm this because I had read somewhere that there was talk that Spring was going to handle this automatically.
12-30-2005, 04:49 PM
Yes, that is correct, SaoServicExporter in 1.1.0 P2 still requires inheriting from MBR. The functionality to handle this automatically was added shortly afterwards and can be found in the daily builds.
I would also like to create an additional class, or rename SaoServiceExporter to RemotingServiceExporter, that adds support for programmatic type registration for the MBR object. This wasn't necessary before we were able to do automatic generation of the MBR object since it could be configured using standard .NET remoting configuration. The new options would would let you register it as either as a SAO singleton/single-call or CAO object.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.