Tuesday, November 19, 2013

Handling backend objects client side. Best practices?

hi,

image you have multi tier java web application and you get objects from the  backend, mostly object structures built of pojos.
The constraint is, the backend is unaware of the client framework, i.e. there are no GWT artifacts in the backend sources or  packages.
Also, the frontend layer (server side) can access the backend classes but not vice versa.

Now, would you convert the pojos into GWT friendly versions and push the via rpc to the browser, so GWT can handle them client side?
Or would you prefer a completely different way?
The conversion mentioned above has some impact, because for each pojo that is not gwt friendly out of the box you have to write a separate
class that is gwt friendly.
Any feedback is appreciated !

TIA
Kibu

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment