• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring/Hibernate with RIA

 
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Paul & Solomon,

What kind of examples/scenarios explained in the book for working with RIA technologies with Spring?

Thanks,
 
author
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Vijitha,

Our book uses a few example applications to help illustrate strategies for building production quality apps based on Spring 3 and Hibernate. Our primary example is a gallery application, featuring ajax-based functionality for uploading and manipulating images. While we don't have as extensive examples focused on the RIA space, we do discuss some of the important considerations when designing applications built in GWT and Flex. The chief pitfall in this space, stems from the complexity of serializing Hibernate domain objects between Java and Flash or Javascript. Because Hibernate uses proxies for providing lazy-loading capability, you can quickly run into issues trying to manage the serialization/translation between two different frameworks. One solution is to use DTO pattern, but this can also add code complexity to your project. In our experience, we have had good luck with the framework dozer for translating between domain objects and the DTOs used for sending to the RIA client.

Thanks for your feedback,

Paul

 
Vijitha Kumara
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Paul, that's something I'd like to explore further
 
reply
    Bookmark Topic Watch Topic
  • New Topic