In this chapter, we will discuss how to configure common resources in GlassFish. We will begin the chapter by describing resource types supported in GlassFish, and we will then discuss how to configure these resources. The goal of this chapter is to help you get familiar with steps you must take to make these resources available to application components deployed to GlassFish.
Nearly all the enterprise applications depend on one or multiple external resources, such as a database or messaging system. Due to the variety of resource types and features, successfully enabling resource access and integration has been one of the more challenging and tedious tasks.
Java EE has taken a significant step forward in simplifying resource integration. Java EE standardizes the APIs used for resources, such as JDBC. It also decouples the configuration of these resources from accessing them. A resource can be pre-configured in an application server, and made readily...