This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Which of the following statements are requirements for a session bean's session bean class? [Check all correct answers]
1. The class must implement the javax.ejb.SessionSynchronization interface. 2. The class must implement the javax.ejb.SessionBean interface. 3. The class may implement the session bean's component interface. 4. The class can be declared final. 5. If the class is a stateful session bean, the constructor must declare parameters to initialise the session state.
Although you do not declare that your Bean Class implements the Component Interface (you can do it but not advised), yet you are expected to implement all the business methods specified in the Component Interface.