what is difference between business delegate and data access
object(dao)? in java?
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 |
What methodology can be utilized to link to a database?
How can you say java is object oriented?
What do you mean by constructor?
how to create daemon thread in java?
can we write program without class
Tell me a few examples of final classes defined in Java API?
What are the different types of java?
what is multitherading
Explain heap sort?
What is meant by class loader? How many types are there? When will we use them?
What is use of set in java?
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"); } }