Here is a question from www.ejbcertificate.com "Which of the following statements are requirements for a session bean's session bean class? [Check all correct answers]" "The class may implement the session bean's component interface" has been marked as correct answer. I cant agree with that. (w.r.t HF-EJB pg85) Bean class should not be able to implement (remote) component interface directly because remote component interface extends EJBObject, and hence implements java.rmi.Remote interface. I know you can do a simple OOD trick to get around that problem. Do you see these kind of questions on the actual SCBCD exam ? I have also seen some mock exams using the word "session object" while they were actually referring to "ejb object" that is tied to the bean instance. Is "session object" a common way of referring to "ejbobject" tied to bean instance?
Even i would not agree with that answer. from compiler's point view, it's perfectly valid and a bean can implement component interface. However, the spec does not expect u to do that and the exam asks about what the spec says....so that is not the correct answer at all !
There's a way to do it better - find it. -Edison. A better tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop