I have a Doubt in question no 18 on page 366 of HFEJB.
As far as My understanding goes, transaction context of a method of a bean (irrespective of its BMT OR CMT ) which invokes another method of a CMT Bean is propagated to the invoked method.
So the answer to this question should include all the method which Run as a CMT bean Methods.Now , since an Entity Bean can only use CMT , all the methods given as options should be a part of the answer.
I do not get why only A,B and C is the answer to this question.
It sounds logical that ejbActivate() and ejbPassivate() methods would get called in response to a client request. However, there are situations where these methods might get invoked by the container. An entity bean can receive a series of passivation and subsequent activation calls while it is in a transaction. This is comlpetely at the discretion of the container. What is guaranteed however, is that the bean always gets an ejbStore() call prior to passivation.
These callbacks do get called as a result of client invocation - but not "always"...