• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is JNDI ENC???

 
Aamir Khan
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If some one can please explain what is JNDI ENC and how it works???
Thanks in advance
Aamir
 
Aamir Khan
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one please reply??
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ENC stands for Environment Naming Context - it's a bean-container interface provided in EJB 1.1. It enhances the functionality provided by EJBContext, but does not replace it completely.
InitialContext jndiContext = new InitialContext();
Double limit = (Double)
jndiContext.lookup("java:comp/env/withdraw_limit");
IntialContext is the readily available ENC here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic