1 2 Previous Next 16 Replies Latest reply on Jul 9, 2013 11:01 AM by pgmjsd Go to original post
      • 15. Re: Singleton cluster service
        vpodlovchenko

        Hello!

         

        I have the same issue - need to call my bussiness interface from singleton service... I've tried this approach:

         

        public class MyServiceBean implements implements Service<MyInterface>, MyInterface {
        ...
           public MyBusinessInterface getValue() { return this; }
        ...
        }
        

         

        The return value will be remotely invokeable from all other nodes in the cluster?

         

        And it seems that is possible to call service interface only from the same cluster node, but not from others...

         

        Is there any other ways to call other methods instead of 'getValue()'?

        • 16. Re: Singleton cluster service
          pgmjsd

          Exactly what I was asking Valentin.   I still haven't had a chance to try this out.   For my application, I'm planning to switch to JMS for invoking my service anyway.   I actually liked the way this worked in AS 5.   I'm not sure why this needed to change so drastically.

          1 2 Previous Next