-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Best Process for web service DTOs
PostPosted: Wed May 19, 2004 7:44 pm 
Newbie

Joined: Wed May 19, 2004 7:39 pm
Posts: 16
Location: Canton, GA
Hi all. I need to have a support POJO model for basic manipulation of my data, but I also need to package up a large chunk of data for transmission across a web service.

In this case, I need to send address book info along with users and group/user data. I could either manually map the basic classes to a DTO set, since those basic classes have lazy loaded collections, or I can create DTOs and extra hibernate hmb XMLs that include non-lazy loaded collections.

Is there another way?

Right now, I'm opting for hibernate to handle it for me, although I might have to change this in the future since what I really need to do is replicate address book info from a server to many clients. This is all on mySql by the way.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.