Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

EJB Interview Questions and Answers

Ques. Can a Session Bean be defined without ejbCreate() method?
Ans. The ejbCreate() methods is part of the beanís lifecycle, so, the compiler will not return an error because there is no ejbCreate() method.
However, the J2EE spec is explicit:
∑ the home interface of a Stateless Session Bean must have a single create() method with no arguments,
while the session bean class must contain exactly one ejbCreate() method, also without arguments.
∑ Stateful Session Beans can have arguments (more than one create method)
Is it helpful? Yes No

Most helpful rated by users:

©2016 WithoutBook