A resource reference supports application provider access to a resource (such as a data source, URL, or mail provider) using a logical name rather than the actual name in the run time environment. This ability insulates the application provider from the run time configuration, and simplifies the process of changing the run time configuration.
Before you begin
This article assumes that you have created an enterprise application whose resource references you want to update.Why and when to perform this task
Resource references are declared in the deployment descriptor by the application provider. At some point in the application deployment process, you must bind the resource reference to the actual name of the resource in the run time environment.This article describes how to update the resource references of an enterprise application using an assembly tool such the Application Server Toolkit (AST) or Rational Web Developer.
Steps for this task
Result
Files for the updated module are shown in the Project Explorer view.What to do next
Verify the contents of the updated enterprise application in the Project Explorer view. Then, deploy your enterprise application.You can generate EJB deployment code and deploy an EJB module to a target server in one step. In the Project Explorer view, right-click on the EJB project and click Deploy.
Related concepts
Data sources
Binding to a data source
Related reference
Data access: Resources for learning