Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLy Bird 1.1.2 - Implementing the interface.

 
Arun G Rao
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The interface that I am asked to implement has the signature

public String[] readRecord(long recNo).

I want to use a Value Object or a Data Transfer Object to send the values back to UI.

Will it be a over-design if I introduce another layer between the GUI Controller and the implementation class. The layer will be responsible for Assemling and disassembling the VOs or DTOs. Any thoughts?

Arun
 
Marcio Aun Migueis
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arun,

I don't see any necessity for use DTO or VO. I think you can just read the record and store it in an array where each field is stored in each position of the array.

Hope I'd help you

M�rcio
[ December 26, 2005: Message edited by: Marcio Aun Migueis ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic