4 Replies Latest reply on Oct 1, 2007 1:27 PM by samdoyle

    Seam Remoting Push ?

    samdoyle

      Is there any current mechanism provided to do this in Remoting? JSF has support for it via the a4j:push but I really need this in the Seam.Remoting functionality.

      Thanks, S.D.

        • 1. Re: Seam Remoting Push ?
          samdoyle

          I did some reading somewhere that the Remoting solution is via subscribing to a JMS topic. How well does this approach work in a clustered environment? It would be nice to have a push capability that didn't rely on or require JMS.

          • 2. Re: Seam Remoting Push ?
            samdoyle

            Anyone ?

            • 3. Re: Seam Remoting Push ?
              shane.bryzak

              Seam Remoting only provides this kind of functionality out of the box as a JMS topic subscription. If you don't want to use JMS, you can alternatively just write some client-side javascript to poll every x seconds. Look at the javascript code in the remoting script (remote.js) for an example.

              • 4. Re: Seam Remoting Push ?
                samdoyle

                Thanks Shane for the clarification. I'm aware of the polling alternative which is what we have in place now. We have a lot of data that can potentially get updated but not always updated which is the reason we are looking at pushing. We are hoping that a push based approach will help cut some cycles out and make client side performance better.