Hi Pavel, Yes, that works great. Thanks for pointing it out so quickly. I realized after the fact that it was my fault for putting the entity in a service method!
Thanks, Jeff -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pavel Tavoda Sent: Thursday, July 10, 2008 6:31 AM To: [email protected] Subject: Re: [Fornax-developer] DTO Pattern with Sculptor Hello, look into Advanced Tutorial, section Non-persistent ValueObject: http://www.fornax-platform.org/cp/display/fornax/3.+Advanced+Tutorial+(CSC)#3.AdvancedTutorial(CSC)-NonpersistentValueObject However mapping between DO and your value object you have to make ourself in service. You can develop your own mapping framework based on reflection or you can use for example http://dozer.sourceforge.net/ which is doing bean to bean mapping based on XML definition. This way it should be more flexible. Regards Pavel On Tue, Jul 8, 2008 at 2:38 PM, wolfejm <[EMAIL PROTECTED]> wrote: > > Hi. > > I'm new to Sculptor, and I have to say it's a very nice piece of work. I'm > looking to see if anyone has tried to use the DTO (Data Transfer Object) > pattern with it. I'd like to avoid exposing the domain objects through the > service interface so I can maintain a separation between the external > interface and the internal data types. Specifically, I want to preserve the > ability to tweak my internal domain model without necessarily requiring > consumers of the service to change. > > Any suggestions on how to achieve this pattern with Sculptor? > > Thanks, > Jeff > -- > View this message in context: > http://www.nabble.com/DTO-Pattern-with-Sculptor-tp18338247s17564p18338247.html > Sent from the Fornax-Platform mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Fornax-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fornax-developer > -- _______________________________ Ing. Pavel Ťavoda konateľ TP Consulting s.r.o. +421/903-748 160 ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Fornax-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fornax-developer ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Fornax-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fornax-developer
