Java REST Options

22 views
Skip to first unread message

Szocske

unread,
Jul 11, 2008, 9:28:35 AM7/11/08
to gwt-rest
Hi,

Another option for developing RESTful web services in Java is Jersey.
It can provide resources in JSON representation.
I use it in a small project and works fine so far. (not with gwt-
rest.)

But here's my question:

If I'm thinking about implementing my "rich" web interfaces in the
form of statically served JavaScript-heavy HTML accessing JSON web
services, should I investigate GWT + gwt-rest, or is this about
something else? Specifically, does gwt-rest need an xml-rpc backend,
or is it restricted to access web services on the "same origin"?

What I'm not sure about yet is whether I should proxy web services to
be accessible from the same origin (this is what gwt-rest is for,
right?), or implement the backend web service in a fake-REST manner
and utilise the dinamic-script-tag trick to reach it anywhere.
(differentorigin.com/some/resource?method=post&body=<URL-encoded
JSON>)


Thanks in advance!

Szocske



Reply all
Reply to author
Forward
0 new messages