Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

bean class implementing component interface

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 !
 
reply
    Bookmark Topic Watch Topic
  • New Topic