2 Replies Latest reply on Apr 27, 2009 6:52 AM by heiko.braun

    GWT and Resteasy

    markvm

      I'm planning on starting a project using Resteasy on the server side and GWT on the client side (the GWT client will not be the only client). One of the problems I'm facing is the fact that GWT only supports GET and POST methods and it appears Resteasy doesn't support X-HTTP-Method-Override (yet).

      I was wondering, does anybody have any suggestions to solve this problem? I would prefer a client side solution, but I suspect the server side needs some adjusting too. I like to follow REST 'standards' so using POST to do PUT and DELETE actions is not an option. Is there anyway to define filters or something alike to 'catch' custom headers (like Method-Override)?

      Does anybody ran into the same problems? Or am I overlooking some obvious solution?

        • 1. Re: GWT and Resteasy
          markvm

          Ouch, I'm sorry, wrong forum :-( Could somebody please move my question to another forum (JBoss User\JBossWS, where I initially planned it)?

          Sorry!

          • 2. Re: GWT and Resteasy
            heiko.braun

            No problem. It's kind of related to the GWT console.
            But you are right. Current AJAX clients only support GET and POST, at least when you want portability. But regardless of the REST best practices, it will do for most use cases.