Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transfer Object question

 
Aniket Patil
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got this question from the Hanumant Singh book:


What are the benefits of using the Transfer Object pattern? (Select two)
a The type of the actual data source can be specified at deployment time.
b The data clients are independent of the data source vendor API.
c It increases the performance of data-accessing routines.
d It allows the clients to access the data source through EJBs.
e It allows resource locking in an efficient way.

I could pick (c) as one of the answers, but which is the other benefit and why.
 
Hendy Setyo Mulyo
Ranch Hand
Posts: 219
Firefox Browser Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe d It allows the clients to access the data source through EJBs.?

By using Transfer Objects, so it is possible to do transfer data across networked tiers (client tier - ejb tier - data source).

Correct me if I am wrong.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The correct answer is
f) This question is horribly written and will make you worse off in your studies.

It was because of garbage like this that I wrote PeabodyOnScwcdPatterns.
 
Aniket Patil
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Marc!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic