Results 1 to 4 of 4

Thread: Remote Destination does not work...

  1. #1
    Join Date
    Dec 2010
    Posts
    2

    Unhappy Remote Destination does not work...

    Destination class method does not get invoked if the method in implemented interface is not defined.

  2. #2
    Join Date
    Nov 2010
    Posts
    11

    Default

    Hi p.i.y.u.s.h,

    Do the other methods in the class can be invoked ?
    Is the method which can be invoked declare to "public"?

    But would you please provide more details, So other can reproduce the problem and help you.

  3. #3
    Join Date
    Dec 2010
    Posts
    2

    Default

    Quote Originally Posted by kevintech View Post
    Hi p.i.y.u.s.h,

    Do the other methods in the class can be invoked ?
    Is the method which can be invoked declare to "public"?

    But would you please provide more details, So other can reproduce the problem and help you.
    Hi Kevin,
    As soon as I put the definition in implemented interface, then on next build run it starts working. It does not bother even if you declare @RemotingInclude in the method implementation. So if you are implementing an interface then its must to have declared in that interface.
    Let me know what details you need, So others reproduce the problem.

  4. #4
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default

    Sounds like a proxy issue, with the class having some sort of AOP advice being applied to it. It the class transactional? Is it secured? Either of those could cause this when using the default JDK dynamic proxies for AOP. You can force the use instead of CGLIB to proxy the target class instead of the interface. See: http://static.springsource.org/sprin...l#aop-proxying

    That said, if your service is implementing a business interface, it seems appropriate that any method being invoked by an outside caller be included in that interface.
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •