Results 1 to 4 of 4

Thread: First Time Remoting Question

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Posts
    1

    Default First Time Remoting Question

    I am trying to implement a simple test of the Spring remoting using the example documented at
    http://opensource2.atlassian.com/con...rvices+Support


    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?

    Regards,
    Tony

  2. #2
    Mark Pollack is offline Spring.NET Co-Lead Spring TeamSpring User
    Join Date
    Sep 2004
    Location
    New York, NY
    Posts
    1,683

    Default

    Hi,

    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.

    Cheers,
    Mark

  3. #3
    Join Date
    Apr 2005
    Location
    Houston,TX
    Posts
    11

    Default MarshallByRefObject Question

    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.

    Thanks,
    twalker

  4. #4
    Mark Pollack is offline Spring.NET Co-Lead Spring TeamSpring User
    Join Date
    Sep 2004
    Location
    New York, NY
    Posts
    1,683

    Default

    Hi,

    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.

    Cheers,
    Mark

Similar Threads

  1. Spring + remoting + IIS
    By legabertrand in forum Remoting and Web Services
    Replies: 14
    Last Post: 09-11-2007, 04:17 PM
  2. Exporting dynamic AOP proxy as remoting service
    By lahma in forum Remoting and Web Services
    Replies: 32
    Last Post: 09-04-2006, 11:09 AM
  3. AOP & Remoting
    By michael.stephenson in forum AOP (Aspect Oriented Programming)
    Replies: 2
    Last Post: 04-22-2006, 11:18 PM
  4. Replies: 1
    Last Post: 12-03-2005, 11:23 PM
  5. IoC newbie question
    By wombat in forum Architecture, Design and Best Practices
    Replies: 1
    Last Post: 05-05-2005, 02:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •