• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI question in HFSJ

 
Harshana Dias
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

In HFSJ page 645 it ask what are DD elements that provide JNDI access to j2EE components?

correct answers are,
<ejb-ref>
<ejb-local-ref>

but what about <env-entry> related elements..those are suppose to deal with JNDI right? above given tag elements are relate with EJB things know?

Thank You.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that what they call "j2EE components" are enterprise java beans, that's why they are only listing ejb-ref, and ejb-local-ref.

JNDI related tags are : env-entry, ejb-ref, ejb-local-ref, resource-ref, resource-env-ref.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic