Hi, all
I think it's ambigous because in "7.10.3 ejbCreate<METHOD> methods",
EJB spec 2.0, it says:
The throws clause may define arbitrary application exceptions, possibly including the
javax.ejb.CreateException.
In my opinion, the CreateException is optional. However, according to
An SCBCD certification primer, the second question:
Consider the following session bean home interface located through the Java Naming and Directory Interface (JNDI).
Context initialContext = new InitialContext();
ProcessPaymentHome ppHome = (ProcessPaymentHome)
initialContext.lookup(�java:comp/env/ejb/pphome�);
Which exceptions must be declared in the signatures of the methods contained in the ProcessPaymentHome interface?
Choices
A. RemoteException
B. FindException
C. Any application specific exception
D. CreateException
E. RuntimeException
Correct choice:
C; D
It assert that the CreateException is mandatory for create<METHOD> in session bean's home interface...