| Author |
HF: page 369, a Entity Bean question.
|
Prashant Neginahal
Ranch Hand
Joined: Sep 14, 2002
Posts: 77
|
|
Hi ALl, Which method(s) from EntityContext interface can be invoked from within the ejbCreate method? a) getEJBHome() b) getEJBObject() c) getCallerPrincipal() d) getUserTransaction() e) setRollbackOnly() Correct answers givien are a, b, c, e. But how come 'b' is correct? EJBObject is available only in ejbPostCreate(). So, is it a mistake? Thanks, Prashant
|
Thanks, <br />Prashant<br />SCJP, SCBCD
|
 |
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
|
|
According to Table 4 of paragraph 10.5.5 of the EJB 2.0 specification, answer b is wrong. Note that this errata is already listed in the official errata list for the HF EJB book
|
SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
|
 |
 |
|
|
subject: HF: page 369, a Entity Bean question.
|
|
|