Announcement Announcement Module
Collapse
No announcement yet.
insert metadata client side, remove server side Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • insert metadata client side, remove server side

    Hello,

    I would like to add metadata on the client side of an RMI call, and then remove that metadata server side before forwarding the call to the original target ( which does NOT contain this metadata in it's method signature).

    The goal here is to be able to add metadata to all remote methods with out adding this as a param to all interfaces...

    Thanks in advance for any suggestions!!

    Thanks!

  • #2
    No reply's on the forum


    Well here's what I ended up doing:

    Created a Method Interceptor on the client side which intercepted the "original" remote call. From the interceptor, instead of calling the my "remote servce", I now call a server side "service router" with my metadata and the parameters & method info of original service call.

    On the server side ( in the service router) the metadata is recieved and the "original" remote call invoked on the (now local) original servce...

    Comments? Is there a better way to do this?

    Comment

    Working...
    X