Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7711303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:20:27+00:00 2026-06-01T01:20:27+00:00

I have a question about Parallel Object Hierarchies such as DTO. Theses hierarchies has

  • 0

I have a question about Parallel Object Hierarchies such as DTO.
Theses hierarchies has to be somehow mapped between each other. Most straightforward method is to use simple mapping by hand. In this case you simply write code which transfers property values one-by-one from one object to the other.
This method is very laborious, but it offers the most variability and the best performance. Also it’s very easy to write such mapping.

Another method is to use some mapping framework such as DOZER. It should be less laborious this way but you loose some variability. Some complicated mappings are hard to achieve if not impossible. You also loose some performance.

So my question is:
Are there any recommendations when to use mapping framework and when to rather map by hand?
Does it depend on complexity of your mapping? Or it’s better to always use mapping framework?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:20:29+00:00Added an answer on June 1, 2026 at 1:20 am

    I’d say automate as much as possible, as long as it doesn’t add complexity. If it’s something complex and auto-mapping can’t be easily achieved, then do it manually. Additionally, map by hand when you hit performance bottle necks. There isn’t a solution that will always work for all scenarios. Make it work by automating as much as possible, when it breaks – fix it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question about using new[] . Imagine this: Object.SomeProperty = new[] {string1,
I have a question about parallel processing in shell scripting. I have a program
I have a question about the Microsoft PPL library, and parallel programming in general.
I have a simple Parallel.Foreach loop that has about 1000 rows in the DataTable,
I have question about NSView: Imagine a Custom View where the mouseDown, mouseDrag and
I have question about normalization. Suppose I have an applications dealing with songs. First
I have a question about using streams in .NET to load files from disk.
I have a question about best practices regarding how one should approach storing complex
I have a question about locking. This doesn't have to be only about record
I have a question about how to deploy WPF application into a PC without

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.