Hi Manisha,

Manisha Menon wrote:
>
> Hi Francis,
>
> Yes ! Can you please elaborate the pluses and minuses
> in wrapping a DAO object from a stateless session bean
> to the other design of wrapping a DAO object by an
> entity bean instances.
>
> When should you consider each design ?
>
> Thank you
>
DAO can be used by both entity and stateless session bean. You save a
lot of time in both cases when testing DB-calls and when switching DBs.
But you can't replace entity beans with stateless session beans (see my
previous mail). Each of this bean types has its own advantages and
drawbacks.

/Francis
--
[EMAIL PROTECTED]

MATHEMA Software GmbH
N�gelsbachstra�e 25 b
91052 E r l a n g e n
D e u t s c h l a n d
Tel +49(0)9131/8903-0
Fax +49(0)9131/8903-55
http://www.mathema.de

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to