0 Replies Latest reply on Feb 5, 2007 4:10 PM by c0dem4gnetic

    Handling pre-calling of RemoteObject

    c0dem4gnetic
      Im using WebORB with Rails, for starters :)

      Right, down to business... what I need to do is stop the call of my remote method (remoteobject.get_names()). The idea is to use a caching mechanism so that no uneccesary calls are made to the back end.

      The invoke event on Remote object states that:
      "The invoke event is dispatched when a service Operation is invoked so long as an Error is not thrown before the Channel attempts to send the message."

      No matter what kind of events I throw in the eventhandler, i cant make it stop calling the remote method. If i call the disconnect() method on the remoteobject I stop the call, but not the connection... saves the database some time but still, I dont want/need that connection :)

      Any help available?