O'Reilly logo

The Java EE 6 Tutorial: Basic Concepts, Fourth Edition by Chinmayee Srivathsa, Kim Haase, Devika Gollapudi, Ian Evans, Eric Jendrock

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 28. Resource Connections

Java EE components can access a wide variety of resources, including databases, mail sessions, Java Message Service objects, and URLs. The Java EE 6 platform provides mechanisms that allow you to access all these resources in a similar manner. This chapter explains how to get connections to several types of resources.

The following topics are addressed here:

• “Resources and JNDI Naming” on page 529

• “DataSource Objects and Connection Pools” on page 530

• “Resource Injection” on page 531

• “Resource Adapters and Contracts” on page 534

• “Metadata Annotations” on page 538

• “Common Client Interface” on page 540

• “Further Information about Resources” on page 541

Resources and JNDI Naming

In a distributed application, ...

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