Dawn,
    Is that container specific?  Or is that defined behaviour in the spec?

Kevin E. Gaasch
Java Consultant
Canyon, Texas
Home: (806)655-6460
Work: (806)324-4100 x4215
Cell: (806)674-1523
email: [EMAIL PROTECTED]

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]On Behalf Of Dawn Lewis
Sent: Tuesday, September 04, 2001 2:49 PM
To: [EMAIL PROTECTED]
Subject: Re: question on entity beans

This depends on a few things.
The ejbStore() & ejbLoad() are only called the first time and the data is cached.  IF you are running in a non-clustered environment.
 
If you are running in a clustered environment and the bean is only a Read-Only bean, the container will have the same behavior - ejbStore() & ejbLoad() only the first time and cache the result.
 
However, if you are running in a clustered environment and the bean is a Read-Write bean, the ejbLoad() & ejbStore() are called every time.
 
Dawn L. Lewis
Southwest Airlines
Fuel Managment, Systems Department
(214) 792-3966
[EMAIL PROTECTED]

>>> Vin�cius de Faria Silva <[EMAIL PROTECTED]> 09/04/01 02:06PM >>>
Hey guys, i'd like to clear a doubt, if anyone could help me...
 
as far as i know everytime a transactional entity bean's method is invoked the container executes before the method ejbLoad and afterwards the method ejbStore, my question is: with this policy how can the container cache business data?
 
Vin�cius

Reply via email to