Reid
I tested this point on the Sun 1.4 RI and omitting
the CreateException on ejbCreate gives a deploy error
to that effect. HoweverI'm not downloading 1.3 just
to confirm.
I guess the point is to regard the Spec as the definitive
statement even if it seems odd or contradicts other sources.
It would be pleasing to have this paticular discrepancy
between the spec and the Head First EJB text confirmed.
Ordinarily there seems little point in raising a simple
typo where there is no risk of misunderstanding e.g on p304
the call to ejbSelectGetAllMovies has no argument but the
corresponding EJB QL uses a parameter.
However compilers of mock, and perhaps real, exam questions
seem, for some reason, to be very keen on the exceptions raised
by methods and their optionality e.g p290 Q10, p363 Q5, Q6