• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with HF Mock Test question

 
Tonio Morelli
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?
 
El Zhang
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic