O'Reilly logo

Oracle Application Server 10g: J2EE Deployment and Administration by Erin Mulder, Jan Machacek, Michael Wessler, Rob Harrop

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Configuring JNDI and JDBC Services

Most J2EE applications need to access at least one database through JDBC. The recommended way to access databases from JDBC is to do it with JNDI and a data source object. Therefore, in this chapter, you'll cover the following:

  • How to configure JNDI

  • How J2EE applications typically access databases

  • The types of JDBC drivers and data sources available

  • How to configure these to work with Oracle and other databases

Java Naming and Directory Interface

JNDI is a generic interface that provides a common set of functions for accessing naming and directory services. Used together with other J2EE technologies, JNDI can provide a centralized storage mechanism for components in a distributed computing environment.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required