JavaEE Environment Naming Context (ENC)

Updated -

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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.