Back to list
Views:   0
Replies:  0
Archived
,
Reply 1
Hello Ji: 

In our example the Member Business Object is mapped to a Member Model which is a DTO.

In your example the Business object is returned, which may or may not be a DTO (if it has methods it is not considered a DTO).
But if it is a DTO then your example is just fine.  

In fact, if it not a DTO is would also be fine. DTO is a 'best practice' but not absolutely necessary.

Hope this helps.
Jack


Jack Poorte, Sep 26, 2015
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas