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

  • Home
  • SEARCH
  • 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 1040617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:14:47+00:00 2026-05-16T15:14:47+00:00

DTO (Data Transfer Objects) are objects used to transfer information between multiple subsystems of

  • 0

DTO (Data Transfer Objects) are objects used to transfer information between multiple subsystems of an application, often separated by either a network or a process boundary. This is my understanding.

However, from Java perspective, do the subsystems/modules have to be on different JVM instances for the objects they use between them to qualify as DTOs? (I believe that a significant demarcation in architecture in terms of modularity and functionality between the subsystems would be sufficient.) What say?

Also, considering the objects exchanged by multiple modules in the SAME layer/tier of an architecture, don’t these objects qualify as DTOs? Is a tier separation mandatory?

Thanks in advance.

Regards,

Nagendra U M

  • 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-05-16T15:14:47+00:00Added an answer on May 16, 2026 at 3:14 pm

    Because transferring objects between tiers requires some kind of serialization it is considered a DTO. Transferring objects between layers is generally done through the use of domain entities thus not requiring serialization.

    So your DTOs generally do not have behavior only properties to hold data.

    A little note: DTOs are often mistaken for anemic objects when you have entities with no behavior, only data. Or poltergeist objects when objects are only used to transport data in and out of methods or classes and then disappear.

    As an example sometimes your data persistence mechanism requires you to implement or inherit interfaces or classes that you do not want to couple into your domain layer, so you create objects that inherit or implement the interface/class and transfer data to those classes for persistence.

    class Person{
    public string Name {get;set;}
    public int Age {get;set;}
    
    public void Validate(){}
    public void DoSomething(){}
    }
    
    
    
    public class PersonDTO : TableServiceContext
    {
    public const string ContactTableName = "PersonTable"
    
    public string Name {get;set;}
    public int Age {get;set;}
    
    }
    

    And you would generaly have a class to assemble and disassemble these objects.

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

Sidebar

Related Questions

I configured GWT 2.4.0 + Hibernate 4.x I used Using Data Transfer Objects (DTO)
Lets say we are using DTO objects to transfer data between service layer and
As I understand, Data Transfer Objects are used for different purposes, so let's bound
I have a number of Data Transfer Objects (DTO's) that map onto data structures
I have multiple data transfer objects that need their data transferred over to their
In the current project we have decided to use dto's to transfer data between
see also Hows to quick check if data transfer two objects have equal properties
Is there any PHP framework to manage DTO (Data Transfer Object) and the mapping
I am using DTOs in my code to transfer data between layers. I have
I know DTO is a data transfer object and a BO is a business

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.