• 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

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.
 
This is my favorite tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic