Results 1 to 2 of 2

Thread: insert metadata client side, remove server side

  1. #1
    Join Date
    Feb 2005
    Posts
    19

    Default 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. #2
    Join Date
    Feb 2005
    Posts
    19

    Default

    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?

Similar Threads

  1. MySQL DDL
    By analogueboy in forum Security
    Replies: 5
    Last Post: Aug 17th, 2007, 03:48 PM
  2. Replies: 1
    Last Post: Aug 23rd, 2005, 09:24 AM
  3. JaxRpc client side authentication.
    By ervandew in forum Security
    Replies: 3
    Last Post: May 18th, 2005, 12:00 PM
  4. Replies: 2
    Last Post: May 5th, 2005, 09:35 PM
  5. Server side exceptions propogate to client - how to
    By darrell_2399 in forum Remoting
    Replies: 0
    Last Post: Oct 12th, 2004, 05:49 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
  •