What is the return type of DAO in Struts?

Showing Answers 1 - 13 of 13 Answers

Sanjib samal

  • Apr 24th, 2007
 

object, any type of object

  Was this answer useful?  Yes

Neston Alex

  • Sep 10th, 2007
 

Normally return type of DAO will be Value Object.

  Was this answer useful?  Yes

Charles

  • Nov 27th, 2007
 

Struts does not bind the programmer till the DAO layer. You can have anything you like, as the return type (valid in programming construts, of course) for the DAO method, Struts would not crib about anything, and would be happy to serve your Action class, as that is what struts is ment to do, just manage your View, and Actionclass.

struts doesn't lay a guideline for DAO layer for a programmers so I would say that the return type in a DAO is up to the programmers discretion.

Thanks,
Vinay

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions