My question about the mock exam is ,
1. which one of the following is a valid stateless bean component interface?
A. public interface Foo extends javax.ejb.EJBLocalObject {
Foo create();
}
B. public interface Foo extends javax.ejb.EJBLocalObject {
void method();
void method(float param);
}
My thought is both of them are valid, but there is only one correct answer
2.
sending a JMS message from within the setMessageDrivenContext
method
is that action valid? the EJBPlus said that is right, however I can not find related description in
EJB Spec
3.
Which three method of stateful session bean are called with an
unspecified transaction context?
A. constructor
B. afterBegin
C. afterCompletion
D. beforeCompletion
I think only the constructor and afterCompletion is correct answer, but is ask for 3 correct answer
[ September 24, 2005: Message edited by: Zee Ho ]