This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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%
 
 
subject: does ejb-jar.xml have to contain home and component interface?
 
Similar Threads
Help me regarding basics of E.J.B
Home and componen interface for multiple bean classes
About ejb-jar file
ANother question about SCBCD study guide
ejb-jar file 's content