When using BMT, which of the following methods do we need to specify transaction attributes in a bean's deployment descriptor:
A: For the methods defined in a session bean's remote interface
B: For the methods defined in a session bean's home interface
C: For the methods defined in a entity bean's home interface
D: For the methods defined in the EJBObject interface in the case of a session bean
Form all methos implementds in
ejb Bean for example
in remote interface a method : deposit(count , amount) has the corresponding deposit method in Ejb bean
in home interface and ejbFinByAnyCriteria has the correspondind finder method in the bean
for all that methos you must configure transaction atributes.
Isn't D also correct? I have a feeling they have mixed up the SLSB and SFSB in the question. As their reason for saying D is wrong is: "Stateful beans are onlu associated with a single client throughout theur life. So D is false."
Only an instance, this instanace may be reutlized by another client, but in another call not in the same time.