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?
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().
posted 15 years ago
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!
SCJP 1.2, SCWCD 1.4, SCBCD 1.3
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!