• 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

ejbhome and ejbselect

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have recently attended sample exam for websphere 287.
can any one please help me out with the right answer for this question.

1.A typical use of ejbHome and ejbSelect method would be?

(Select 2)

A.use ejbSelect methods within ejbHome methods to return entities
B.use ejbSelect methods to access fields of a bean instance
C.use ejbHome methods to perform operation not specific to a entity instance
D.Use ejbHome methods to initialize entity bean instance variables

I think B and D are the correct answers.

any comments would be great.

thanks in advance.
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think it's a pretty poor question. But here goes: A I like. B is vague ... if it is implying the client uses some ejbSelect that would be false since selects are only visible internally. However, if used internally, a select can be used for that purpose. So, maybe B. C is definitely good. D maybe, depending on what they mean by "initialize".

Welcome to the wonderful world of mock questions.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic