wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Mock Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Mock Question" Watch "Mock Question" New topic
Author

Mock Question

S. Palanigounder
Ranch Hand

Joined: Apr 03, 2003
Posts: 145
Which of the following requirements for the ejbCreate() method in a stateless session bean are correct?
1. It must have only one ejbCreate() method
2. The ejbCreate() method must return the void return type
3. The ejbCreate() method must contain no arguments
4. If the ejbCreate() method is run successfully, an object of the type EJBHome is created
I think ans is 2.
What about 1 and 3?
Sudd Ghosh
Ranch Hand

Joined: Oct 23, 2002
Posts: 187
My answer : 1, 3


SCJP 1.4, SCWCD, SCBCD 1.3
Hung Tang
Ranch Hand

Joined: Feb 14, 2002
Posts: 148
1,2,3
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Mock Question
 
Similar Threads
when is an instance of a entity bean created??
legal ejbCreate method
Some quick questions
public void onMessage(TextMessage msg){}
primary key type can't be primitive type. True?