File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes does ejb-jar.xml have to contain home and component interface? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "does ejb-jar.xml have to contain home and component interface?" Watch "does ejb-jar.xml have to contain home and component interface?" New topic
Author

does ejb-jar.xml have to contain home and component interface?

reubin haz
Ranch Hand

Joined: May 12, 2005
Posts: 287
here is a question in ejbcertificate.com

Identify all correct high-level requirements for the ejb-jar.xml file?

1. The ejb-jar.xml must contain the enterprise bean class.
2. The ejb-jar.xml must contain the primary key class if the enterprise bean is a session bean.
3. The ejb-jar.xml must contain the J2SE classes that the enterprise bean depends on.
4. The ejb-jar.xml must contain the enterprise bean home and component interfaces.
5. The ejb-jar.xml must contain the stubs of the EJBHome and EJBObject interfaces.

the correct answer is 1 and 4, but I thought 4 is wrong since MDB does not have home and component interfaces, am I right?


SCJA, SCJP5.0, SCBCD, SCWCD
Muthaiah Ramanathan
Ranch Hand

Joined: May 16, 2005
Posts: 102
For that you have to turn on the indicator to show number of correct answers.


SCJP 1.6, SCJD, SCWCD, SCBCD.

Be nice to people on the way up cos, you'll need 'em on your way down - From somewhere I can't remember!
reubin haz
Ranch Hand

Joined: May 12, 2005
Posts: 287
I see what you mean
Aleena Rehman
Ranch Hand

Joined: Sep 20, 2005
Posts: 66
The correct answer for the question is 1.


Aleena Rehman<br />SCJP, SCBCD 95%, SCWCD 85%, IBM-OOAD 84%, SCEA-I 91%
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: does ejb-jar.xml have to contain home and component interface?