Bruno, Arthur likes to send his whole object model from the server to the client ;)
Users should be careful taking advise from Arthur. He *loves* giving advise. The only problem is that they are terrible and on subjects that he has little or no knowledge. Make sure you take a second opinion before following Arthurs advise. Rob On Feb 27, 9:10 am, Arthur Kalmenson <arthur.k...@gmail.com> wrote: > > PS : using Dozer for Hibernate and GWT is a pain. Really. That's just > > the first reason why I develop Hibernate4GWT (now Gilead) ! > > How is it pain? It's one line of code: > > (SomeDomainObject) dozerMapper.map(retrievedFromHibernate, > SomeDomainObject.class) > > -- > Arthur Kalmenson > > > > On Fri, Feb 27, 2009 at 4:50 AM, noon <bruno.marches...@gmail.com> wrote: > > > Hello, > > > Just one question : if you app works with Gilead, why do you want to > > work without it ? Would you plan to work without Hibernate even if > > JDBC is faster ?? > > (ok, that's 2 questions ;-)...) > > > Just to know... > > > Regards > > Bruno > > > PS : using Dozer for Hibernate and GWT is a pain. Really. That's just > > the first reason why I develop Hibernate4GWT (now Gilead) ! > > > On 26 fév, 22:47, Arthur Kalmenson <arthur.k...@gmail.com> wrote: > >> You don't necessarily have to use JSON, XML or DTOs. We reuse our > >> Hibernate entities on the client side. However, you need to keep in > >> mind that all types of collections (Lists, Maps, Sets, etc) are turned > >> into a Hibernate specific Persistent* object when you get the object > >> from the database. > > >> An easy way to remove these Hibernate specific classes is to use Dozer > >> to map the domain object to itself. This recreates the object and > >> copies all the collection elements to regular java.util classes. > > >> -- > >> Arthur Kalmenson > > >> On Thu, Feb 26, 2009 at 7:33 AM, Felipe Cypriano <fmcypri...@gmail.com> > >> wrote: > >> > Maybe what you're looking for is JSON, XML or DTO (Data Transfer Object). > > >> > In those cases you will do the bridge between the hibernate model and the > >> > data sent to GWT client, not Gilead anymore. > > >> > Regards, > > >> > --- > >> > Felipe Marin Cypriano > >> > Vitória - ES > >> >http://www.linkedin.com/in/felipecypriano > > >> > On Wed, Feb 25, 2009 at 2:27 PM, hezjing <hezj...@gmail.com> wrote: > > >> >> Hi > >> >> I'm tried Gilead, and it works great when integrating GWT and Hibernate. > >> >> I also read from the forum that we can integrate GWT and Hibernate > >> >> without > >> >> Gilead (and it is faster?). > >> >> I'm wondering, how should we handle the lazy loading without using > >> >> library > >> >> like Gilead? > > >> >> I'm still googling for the example of GWT and Hibernate integration > >> >> without Gilead :-( > > >> >> -- > > >> >> Hez- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---