Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Problem with HF Mock Test question

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm taking the test tomorrow (yikes!) and I'm having a problem with a mock question from the HF book:

4. Which method(s) can be run by a CMP bean in a pooled state?

A. ejbLoad()
B. ejbFind()
C. ejbStore()
D. ejbCreate()
F. ejbHome()

I answered only B, but F is considered correct also. I didn't feel that F was a possible method name, as it is a prefix for home business methods, and that would mean the home business method would have no name. I must be missing something. Anybody know where I went wrong?
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you choose B, then do you really think the find method has a name find?
My understanding here is that the ejbFind(), ejbHome() actually stands for ejbFindXXX() and ejbHomeXXX().
 
Tonio Morelli
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But find is a real, possible method name in the Home interface, isn't it? And the other methods in the list are also real existing methods. They don't stand for any kind of pattern, so who would believe that they're really saying that?

OK, my point isn't to bash the mock exam makers. I just wanted to make sure I wasn't missing anything obvious in my knowledge - the mock exams always have errors of various degrees. But if anyone knows why I'm definitely wrong about this, please pipe up - I'm all ears!
 
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic