Skip to content

JNDI tree lookup pattern

The JNDI tree lookup pattern is a mechanism used in Java EE environments, such as WebLogic Server, to manage and retrieve database resources.^[weblogic-jdbc.md]

In this pattern, a JDBC Data Source is bound as an object within the JNDI tree structure^[weblogic-jdbc.md]. This data source acts as a connection pool, providing the necessary database connectivity to applications^[weblogic-jdbc.md].

Lookup Process

Client applications interact with this pattern by performing a lookup on the JNDI tree to locate the specific data source object^[weblogic-jdbc.md]. Once the object is retrieved, the application can borrow or utilize a database connection from the pool managed by that data source^[weblogic-jdbc.md].

  • [[JDBC]]
  • [[Connection Pool]]

Sources

^[weblogic-jdbc.md]