• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
reply
    Bookmark Topic Watch Topic
  • New Topic