2 Replies Latest reply on Dec 1, 2007 10:51 AM by Samuel Doyle

    Can Seam Remoting use JSON over XML?

    Samuel Doyle Apprentice

      There is quite a bit of overhead data returned in its present state.

        • 1. Re: Can Seam Remoting use JSON over XML?
          Shane Bryzak Master

          I evaluated using JSON however decided against it because it is non-recursive. You do have the option though of trimming parts of the object graph that is returned by specifying the exclude attribute of the @WebRemote annotation.

          • 2. Re: Can Seam Remoting use JSON over XML?
            Samuel Doyle Apprentice

            I have usually found it easier to create a separate class for returning resultsets since there is most of the time a lot to strip out. Even so the verbosity and inclusion of metadata in the response really increases the response size.

            We had a case where we had a large set of data being requested and the remoting response ended up to be 500k and the loading time was not acceptable. As a result we were required to create a custom solution.

            On the topic of remoting can you tell me what the status is of the JavaScript JMS topic subscription is? We have done some prototyping using server side push with DWR and decided this is pretty much the direction we want to go in. The JMS topic subscription in Seam has always been classified as experimental. Is this still the case?

            S.D.