Q. The statement is true or false: A message-driven bean class can define one or more ejbCreate methods a) True b) False I choose True. Spec says that mdb has to define a ejbCreate method with no argument. But it does not say that one and exactly one is allowed. For a stateless session bean, its component interface has to define exactly one create method. softSCBD's answer is False. I cannot find the evidence to support softSCBCD's claim. What's your opinon? Thanks, Jack
You need to define an ejbCreate() method with no parameters for an MDB. If you define other ejbCreate() methods with different parameters, they will not be called by the container for MDB or SLSB and hence there is no use for such methods. From the exam point of view, U cannot have multiple ejbCreate() methods for MDB or SLSB. [ February 23, 2004: Message edited by: Vish Kumar ]
Honk if you love justice! And honk twice for tiny ads!