DAO - Date access Object . Generally used to when u want to have the
felxibility of changing the database . This Data Access Objects  accesses
the database . Instead of tying the business logic to one database , u can
use this patterns and get the added advantage .
U have to create the DAO for each database  . and call them from within the
Entity beans or session beans or from within the  Handler classes (  in case
of accessing Read only data from database)

Even u can make certain decision specific to database in the respective DAO
implementations . ( e.g  can have database specific queries )

For more information take a look at Design Patterns in J2EE ( Blue Print
book from SUN )







----- Original Message -----
From: Chuck Amadi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 11:41 AM
Subject: Re: Regarding JavaOne Presentations - no joy :^{


> Hi again not much there , can you explain what theses ancorithms are BMO
> & DAO (presentations) or are they just abbreviations  for what was
> requries inside of the Process Business Logic Session Bean.
>
> Cheers Chuck
>
>
>
> suhas wrote:
>
> >    Part 1.1    Type: Plain Text (text/plain)
> >            Encoding: quoted-printable
>
> --
> The views expressed by the sender of this message don't
> necessarily represent those of Brecon Beacons National Park
> Authority. This message is intended for the addressee(s) only
> and is sent in confidence; if you receive it in error, please can you
> let us know (at [EMAIL PROTECTED]) and then destroy all copies.
> Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
> adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
> Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
> yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
> mewn camgymeriad, a fyddech gystal � rhoi gwybod i
> ni (yn [EMAIL PROTECTED]) ac yna dil�wch bob copi.
>

Reply via email to