• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

Doubt on Mock Exam Question??

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

This question is from ejbcertificate.com site.

Which of the following statements regarding a local component interface of a session bean are true? [Check all correct answers]

1. Allows a client to remove the session object.
2. Allows a client to get the local home object.
3. Allows a client to get a handle for the session object.
4. Allows a client to get the primary key of the local session bean.
5. Extends javax.ejb.EJBLocalObject either directly or indirectly.

My answer is 1 and 2, but the site tells 1,2 and 5.
Could you please explain how the 5 one is correct.

Thanks,
Seenu
 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Seenu R,

A Local component interface must extend the EJBLocalObject interface. It can be done directly by the local component interface itself. Alternatively, the local component interface may extend another interface which in turn extends EJBLocalObject.

Does that make sense?

Regards,
Saket
 
Seenu Reddy
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Saket Barve,
Thanks Saket. i was confused on indirect way of extending, now its clear.

Thanks.
Seenu
 
Blood pressure normal? What do I change to get "magnificent"? Maybe this tiny ad?
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic