Hi! All, I has 2 answers, one is ejbStore(). What is the other? If the Access Intent on a method is �Read�, what restrictions does it place on the EJB? -The ejbStore() method is not called. -The ejbLoad() method is not called. -The ejbActivate() method is not called. -The ejbPassivate() method is not called. bye. Sachin
The answer should be ejbStore() and ejbPassivate(). ejbLoad() are called by container when it is time to read from the database. If this one can't be called, how can the container associate the data with the bean instance? ejbPassivate() is called by container when it is about time to disassociate the bean from the data, it also means ejbStore() will be called after this method. As we can find in the infocenter: Access Intent - Intent type Specifies whether the method is a read-only method or whether the method can update data (or invoke other methods that can update data, in the same transaction). The legal values are read or update (read/write). this method will cause other methods that update data be called. So I think ejbPassivate() is an answer.
SCJP2<br />IBM Object-Oriented Analysis/Design & UML<br />IBM Certified Developer - XML and Related Technologies<br />IBM Test 483 J2EE Connectivity<br />IBM Certified Specialist - IBM WebSphere Application Server, Advanced Single Server Edition for Multiplatforms, V4.0
They weren't very bright, but they were very, very big. Ad contrast: