I am in the middle of developing my first GWT application which will consume data from a RESTful API.
What I am trying to figure out is the best way to structure my entire application. Should the GWT client side make contact with Java server-side which then contacts the API or should GWT itself just contact the API directly?
I have been watching Ray Ryan at Google I/O 2009 and his stuff makes a lot of sense but I am not sure if I am adding in a whole unnecessary layer by having Java server-side code when it could just contact the API directly.
Thanks in advance.