In J2EE, you use the JNDI Environment Naming Context(ENC) ( ENC ) as a mechanism for making collaborating objects available via a name space, and acquiring references to them. 在J2EE中,您使用JNDI环境命名上下文(ENC)(EnvironmentNamingContext,ENC)作为机制,以便通过命名空间使协作对象可用并获得对协作对象的引用。
The client container binds the service interface described by that reference in the java : comp / env client environment naming context. 客户端容器会绑定由java:comp/env客户端环境命名上下文(ENC)中的该引用所描述的服务接口。