Results 1 to 2 of 2

Thread: httpInvoker and toString()

  1. #1
    Join Date
    Aug 2004
    Posts
    229

    Default httpInvoker and toString()

    Just started to use httpinvoker and I noticed that when anyone calls toString() on the proxy created by HttpInvokerProxyFactoryBean, the call to toString() is remoted. It's probably this way for hashCode and equals as well. Is this really desireable?

    - Andy

  2. #2
    Join Date
    Aug 2004
    Location
    Linz, Austria
    Posts
    391

    Default

    Thanks for spotting this - this is clearly not desirable. It just happens for HTTP invoker and RMI invoker, BTW, not for the other remoting strategies (and just for toString and hashCode).

    I've just fixed HttpInvokerClientInterceptor and RmiClientInterceptor accordingly, to handle toString locally. Furthermore, JdkDynamicAopProxy handles hashCode locally too now, not just equals.

    Juergen

Similar Threads

  1. HttpInvoker with complex objects as parameters fails
    By iloveopensource in forum Remoting
    Replies: 5
    Last Post: Feb 5th, 2006, 12:10 PM
  2. Basic authentication and HttpInvoker
    By adepue in forum JMS
    Replies: 13
    Last Post: May 17th, 2005, 01:38 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
  •