Which of the following statements regarding a local component interface of a session bean are true? [Check all correct answers]
1. Allows a client to remove the session object. 2. Allows a client to get the local home object. 3. Allows a client to get a handle for the session object. 4. Allows a client to get the primary key of the local session bean. 5. Extends javax.ejb.EJBLocalObject either directly or indirectly.
My answer is 1 and 2, but the site tells 1,2 and 5. Could you please explain how the 5 one is correct.
A Local component interface must extend the EJBLocalObject interface. It can be done directly by the local component interface itself. Alternatively, the local component interface may extend another interface which in turn extends EJBLocalObject.