in Education by

What is Transfer Object pattern?

1 Answer

0 votes
by
The Transfer Object pattern is used when we want to pass data with multiple attributes in one shot from client to server. Transfer object is also known as Value Object. Transfer Object is a simple POJO class having getter/setter methods and is serializable so that it can be transferred over the network. It does not have any behavior. Server Side business class normally fetches data from the database and fills the POJO and send it to the client or pass it by value. For client, transfer object is read-only. Client can create its own transfer object and pass it to server to update values in database in one shot. Following are the entities of this type of design pattern. Business Object - Business Service fills the Transfer Object with data. Transfer Object - Simple POJO having methods to set/get attributes only. Client - Client either requests or sends the Transfer Object to Business Object.

Related questions

0 votes
    Which of these transfer protocol must be used so that URL can be accessed by URLConnection class object? (a ... questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    is there a way to validate the pattern of an input by it's event object (without using a form)? ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 5, 2022 in Education by JackTerrance
0 votes
    is there a way to validate the pattern of an input by it's event object (without using a form)? ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 3, 2022 in Education by JackTerrance
0 votes
    In the same way that you can use JSON in javascript? At least the static properties? Or maybe even ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    Which design pattern ensures that only one object of particular class gets created? (a) Singleton pattern (b) Filter ... JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
0 votes
    What is Data Access Object Pattern(DAO) pattern?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    What is Null Object pattern?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    In the transfer of file between server and client, if the transmission rates along the path is 10Mbps, 20Mbps, 30Mbps, ... ___________. A. 20Mbps B. 10Mbps C. 40Mbps D. 50Mbps...
asked Jan 8, 2023 in Technology by JackTerrance
0 votes
    a) North East in the Twilight of Independence - Cabinet Mission, the Grouping Plan and Partition a) Congress ... and its Consequences Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    How do I transfer data from a worksheet to another based on a specific cell value? I tried several ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 22, 2022 in Education by JackTerrance
0 votes
    How do I transfer data from a worksheet to another based on a specific cell value? I tried several ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    I have my instance of the Amazon AWS running, the test page is up. I am trying to SFTP the files to ... move them, permission denied. Select the correct answer from above options...
asked Feb 4, 2022 in Education by JackTerrance
0 votes
    I would like to transfer ownership of the Google Cloud project completely. By completely I mean rather than ... Thanks in advance Select the correct answer from above options...
asked Feb 2, 2022 in Education by JackTerrance
0 votes
    Enzymes that utilize ATP in phosphate transfer require an alkaline erath metal (M) as the cofactor M is A. Sr B. Be C. Mg D. Ca Select the correct answer from above options...
asked Jan 2, 2022 in Education by JackTerrance
...