Folks,
Tell me if you agree that it would be better to have a DAO's
loadSomeData() methods return only application objects, rather than
JDBC ResultSets. That way, if the structure of the database changes (or
you get the data from somewhere besides a database) the DAO can isolate
that change.

The only dilemma I am having is that if the EJB or other "service"
componet using the DAO provides nothing more than data retrieval
methods, nearly all your code is in the DAO so what did the DAO buy me?


Any Experience or Thoughts?

Thanks,
Mike

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to