what is difference between business delegate and data access
object(dao)? in java?



what is difference between business delegate and data access object(dao)? in java?..

Answer / nrayakwar

Both are different design pettern. name drives their
functionality.
Business Delegate : it is used decouple presentation and
business layer. it avoids to intract presentation client to
understand your business services.

Data Access Object : DAO is used on database layer,
generally it is used to avoid database intraction by EJB or
Business Object. it is used to retreive and store data.
mostly I preferred, DAO is used with Value Objects

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Core Java Interview Questions

What methodology can be utilized to link to a database?

0 Answers  


How can you say java is object oriented?

0 Answers  


What do you mean by constructor?

0 Answers  


how to create daemon thread in java?

0 Answers  


can we write program without class

6 Answers   TCS,






Tell me a few examples of final classes defined in Java API?

0 Answers   DELL,


What are the different types of java?

0 Answers  


what is multitherading

3 Answers   Tech Mahindra,


Explain heap sort?

0 Answers   Flextronics,


What is meant by class loader? How many types are there? When will we use them?

0 Answers  


What is use of set in java?

0 Answers  


public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }

0 Answers  


Categories