About Question enthuware.ocpjp.v7.2.1193 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
Alina_Lapina
Posts: 15
Joined: Tue Jan 13, 2015 12:10 pm
Contact:

About Question enthuware.ocpjp.v7.2.1193 :

Post by Alina_Lapina »

Here http://www.tutorialspoint.com/design_pa ... attern.htm
they meen that it's a DAO Pattern.
I need help to understand the differens between DAO and DAO Factory. Pleeeese!

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1193 :

Post by admin »

You will find many tutorials with different patterns having slight variations. You need not worry about all those. Just follow the one mentioned here: http://www.oracle.com/technetwork/java/ ... 37601.html

I have not gone through the link you mentioned, but from the name of the patterns, it looks like the difference between the two is that you acquire the reference to a DAO instance using a Factory in case of DAO factory.

HTH,
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests