This question has been asked and answered numerous times. Please search the group before asking.
With regards to your question, it is possible, you just need to watch out for Hibernate specific Collections like PersistentSet and PersistentList. I just copy them to an explicit HashSet or ArrayList before sending them to the client side. Another solution is using Dozer as Stephen mentioned. This would involve creating DTOs though. -- Arthur Kalmenson On Wed, Dec 17, 2008 at 6:31 PM, Smith <smitha.kang...@gmail.com> wrote: > > All, > > With GWT 1.5, is it possible to send the persistent hibernate entities > directly to the client, without creating separate client side > objects? I know it's not a good pattern, but just curious if that > would work. > > I have read this didn't work with GWT 1.4 since annotations were not > supported, but since GWT 1.5 supports annotations, this should be > possible, right? > > > Thanks, > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---