• Post Reply Bookmark Topic Watch Topic
  • New Topic

Data.java and Transfer Object Design Pattern

 
Tony Bouer
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The methods on Data.java defined on DB interface have some "dependent" arguments. Someone projected new methods with business representation of data like a TO rather than keep using that already provided ?

Thanks,
Tony
 
Tony Bouer
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
one more thing... as with the "abstract database schema", having a class with pre-defined fields sounds to be strange, but I think that would be fine to have a data representation class to be carried among application layers. Any idea ?

Thanks again,
Tony
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!