Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
reubin haz
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Muthaiah Ramanathan
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For that you have to turn on the indicator to show number of correct answers.
 
reubin haz
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see what you mean
 
Aleena Rehman
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The correct answer for the question is 1.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic