JavaEE Environment Naming Context (ENC)
Background
A JavaEE component / deployment has a JNDI namespace / context that is only visible to the particular component itself.
Use cases
The Environment Naming Context (ENC) can be used for:
-
Abstracting an application from the datasource's JNDI name. The application can be written to always lookup a JNDI name in
java:comp/env/jdbc/co...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
