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

Page 291 - ejbRemove method question

 
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mock Exam Question from HFB page 291.
2. Which capabilities are found in an entity bean's remote component interface?
A. creating new entity objects
B. finding existing entity objects
C. removing existing entity objects
D. executing a home business method
E. retrieving the EJBMetaData interface

Answer is C.
How come component interface can be used to remove entity beans?
EJBObject has remove() method for session beans only.
You find remove(handle) & remove(primarykey) methods in EJBHome.
If it's true how client will call remove for entity bean.. give me example
like e.g. Cart.remove(); where cart is remote component interface.

Thanks
Nehul
[ February 06, 2004: Message edited by: Nehul Nalekar ]
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found the answer. Close it.
 
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic