9

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?

3 Answers 3

3

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.

1
  • 4
    Thank you for point out to the request factory. I'll have to take a closer look, but after the first glance it seems like I'll have to create another layer of classes for that to work. I'm not a fan of polluting functional code with multiple layers of POJOs that have no value added to the actual functionality and potentially are prone to typos, etc. But I'll have to study myself first, of course.
    – ATrubka
    Feb 23, 2013 at 4:56
1

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.

0
1

This seems worth a try: Gilead fork for GWT 2.7.0

1
  • finally got to try it out and can confirm it works :) Jun 6, 2016 at 13:22

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.