aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Don't get me started about those stupid light bulbs.
 
subject: Mock Question
 
Similar Threads
when is an instance of a entity bean created??
primary key type can't be primitive type. True?
legal ejbCreate method
public void onMessage(TextMessage msg){}
Some quick questions