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?
----<br />Krishna<br />SCJP2
posted 13 years ago
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 !
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads