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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content