Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gilead replacement to glue GWT and Hibernate together

Till recently Gilead looked like the best solution to glue GWT and Hibernate together. Unfortunately, Gilead project seems to be abandoned and was not upgraded for new GWT 2.5, which makes us look for a replacement.

Do you know of any new project that essentially does the same thing Gilead was doing for older versions of GWT?

like image 377
ATrubka Avatar asked Feb 19 '13 21:02

ATrubka


2 Answers

It's a slightly different programming model (using proxy objects instead of real the actual data model objects), but I would recommend using the official GWT requestfactory as a replacement: https://developers.google.com/web-toolkit/doc/latest/DevGuideRequestFactory

We've found it to be a much better programming model as it doesn't force you to keep your model classes clear of any server side code. I believe it also has a number of performance benefits as it automatically manages changes as delta's rather than reserialising the entire object.

like image 64
Istinra Avatar answered Nov 07 '22 07:11

Istinra


In my dev team we're using dehibernator to get rid of Hibernate proxies and lazy collections before sending the entities to the client. It's simple and effective.

like image 21
Bruno_Ferreira Avatar answered Nov 07 '22 06:11

Bruno_Ferreira