posted 17 years ago
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.
Ans are 2 and 3.
Can somebody explain how 3rd answer is correct?
Thanks,
Prashant
Thanks, <br />Prashant<br />SCJP, SCBCD