• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DD elements for JNDI

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

The following question is from the HFSJ book,

Which are the DD elements that provide JNDI access to J2EE components?

<ejb-ref>
<entity-ref>
<resource-ref>
<session-ref>
<message-ref>

I choose <ejb-ref> but the answer says both <ejb-ref> and <resource-ref>?

Is the <resource-ref> optional element? and if yes, then why not it was stated anywhere in the HFSJ book?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the <resource-ref> optional element?

Yes, it's optional.

and if yes, then why not it was stated anywhere in the HFSJ book?

Maybe because the authors thought that it was not part of the exam I don't know if it actually is.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Christophe...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic