Hi,
from the Sun Site the following jGuru question is asked:
What interface must the enterprise bean implement so that an application can invoke its operations?
a: javax.ejb.EntityBean
b: javax.ejb.EJBHome
c: javax.ejb.EJBObject
d: javax.rmi.Remote
Correct answer ist c
But why? The
EJB does not implement EJBObject, the container implements the EJBObject interface. Same with EJBHome, which is also implemented by the container. Remote is the super-interface for EJBHome and EJBRemote. So bottom line that leaves us EntityBean, which was my choice.
Can anyone explain why EJBObject is correct?
D.