My Oracle Support Banner

DataSource lookup using java:comp/env in oc4j 10.1.3 (Doc ID 375364.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version and later
Information in this document applies to any platform.


The purpose of this document is to show how one would obtain a Data Source using using the Environment Naming Context model (ENC) in OC4J 10.1.3 which is implemented by J2EE servers to abstract application resources away from their physical manifestations.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 - Do the logical
 - Do the Physical

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.