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

Global JNI Vs ENC

 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone give me difference between ENC & Global JNDI?
 
bernard savary
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think ENC is the context of the component(bean environment) , it is usually of form java:comp/env It is like a programmer reference to the operational environment and is independent of the operational environment. In case of JNDI global names it is the deployer who is responsible for configuring a resource in global JNDI and then he/she should map the global JNDI names to the specific component ENC reference .In most contaners , if the global and ENC names are the same then the ENC is resolved utomatically by binding to the global JNDI name.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic