Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbhome and ejbselect  RSS feed

 
srinija kosaraju
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!