Which of the following methods must the entity bean provider implement in the abstract entity bean class? [Check all correct answers]
1 The entity bean provider must provide a public constructor without arguments.
2 The entity bean provider must provide at least one implementation for the ejbCreate() method.
3 The entity bean provider must provide the implementation of the ejbFind() method(s).
4 The entity bean provider must provide the implementation of the ejbHome() method(s).
5 The entity bean provider must provide at least one ejbSelect() method.
The aorrect answer as per them is 1 + 4.
I feel only 4 should be the answer.
EJB provider need not provide constructor with no args. Since, if we dont provide the constructor at all with java rules default no arg constructor is provided.
Please comment. Your inputs on this are appreciated.
Thanks,
Gemini
1 The entity bean provider must provide a public constructor without arguments.
2 The entity bean provider must provide at least one implementation for the ejbCreate() method.
3 The entity bean provider must provide the implementation of the ejbFind() method(s).
4 The entity bean provider must provide the implementation of the ejbHome() method(s).
5 The entity bean provider must provide at least one ejbSelect() method.
The aorrect answer as per them is 1 + 4.
I feel only 4 should be the answer.
EJB provider need not provide constructor with no args. Since, if we dont provide the constructor at all with java rules default no arg constructor is provided.
Please comment. Your inputs on this are appreciated.
Thanks,
Gemini