0 Replies Latest reply on Mar 15, 2013 1:17 PM by perrierax

    JSON/JSONP support in JBoss AS 7 Kitchensink

    perrierax

      Right now if you use the jboss-as-kitchensink your can generate a REST URL for each member;

       

      The

       

      http://localhost:8080/jboss-as-kitchensink/rest/members/0

       

      results in

       

      {"id":0,"name":"John Smith","email":"john.smith@mailinator.com","phoneNumber":"2125551212"}

       

      I need it to go the next step

       

      Where a

       

      http://localhost:8080/jboss-as-kitchensink/rest/members/0?jsonp=browseMember

       

      will result in

       

      browseMember({"id":0,"name":"John Smith","email":"john.smith@mailinator.com","phoneNumber":"2125551212"});

       

      Is there anyone here familair with JSON/JSONP issues with respect to JBoss ?

       

      Thanks

       

      Perry