I need to do the following:
1) access the database with a simple query
2) post the results of that query to a file on a unix machine for nightly
ftp to a mainframe
I'm thinking of having either a new or existing data access object (DAO) do
the query and make a result set. What I'm debating, since its not a client
function, is whether to accumulate the results to data transfer objects
(DTOs), and then maybe pass them to a BDO to actually create the file? Or
should I just have one class do everything? Or something else.
I'm much better at writing code than designing, so I'd welcome your
opinions.
Thanks,
Eric