0 Replies Latest reply on Jan 25, 2003 3:14 AM by jdeacon

    Remote reference arguments

    jdeacon

      If I've understood things correctly, I can pass primitives, serializable objects and remote reference as arguments to remote messages.

      When I try to pass remote references as arguments I get a "proxy cannot access its superinterface" error.

      What am I missing?

      The example is a method of a remote interface Location

      Distance howFar(Location aRemoteLocationReference)

      i.e. one remotely referenced Location entity bean is being asked how far away it is from another remotely reference entity bean.

      Thanks in advance,

      John