hi friends
This is a mock question from one of IBM's sample tests. Since the question does not mention whether the home interface is remote or local, is it possible to answer this ? In case of remote home, A would be the answer and in the case of local home, B would be the answer. Am I right ?
Question 36. (1 Ans.)
A Home interface for an
EJB supplies a finder that returns a java.util.Collection. What MUST the client code do with elements of the collection to work with each EJB reference?
A. Each reference needs to be type narrowed.
B. Each reference needs to be cast to the corresponding local interface.
C. Each reference needs to be cast to the corresponding remote interface.
D. Each element is a EJB Handle from which the EJB reference can be obtained.
Thanks in advance
Vipin