Hi,
WenJun Luo wrote:
>
> Hi,All,
> I know that in some design patterns entity beans are not exposed to the
>client tier. My problem is that in such case, why should we use entity beans. We can
>use DAO intstead and also can avoid the overhead of the inter-bean calls. Any tip is
>appreciated.
> Best regards.
Entity beans are not only used for wrapping DB-rows. You also use them
when you want concurent access to data at the app server level. They
also provide a better fine grained access controll than "session bean +
DAO". In some cases, they scale better than session beans.
/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".