posted 18 years ago
Which statements about stateful and stateless session beans are true?
A. Only stateful session beans support transactions.
B. Only stateful session beans can be passivated.
C. Only stateful session beans have a 'setSessionContext' method.
D. Both stateful and stateless session beans can support overloaded 'ejbCreate' methods.
E. Both stateful and stateless session beans can implement the 'javax.ejb.SessionSynchronization' interface.
F.Both stateful and stateless session beans can have instance variable state.
Select 2 answers
I can think only B is correct. But in the exam says B and F both are correct. How stateless session beans can have instance variable state.
Could some one can explain me about the same?
Thanks,
Seenu
Thanks,<br />Seenu<br />SCJP1.4,SCBCD1.3,Next-->SCWCD1.4