O'Reilly logo

WebSphere Application Server 7.0 Administration Guide by Steve Robinson

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

Deploying a data access application

Now that we have created a JDBC provider and a data source which uses the provider, we are now ready to deploy a data access application. Our application comes in the form of an EAR file called HRLister.ear, which can be downloaded from the PACKT Publishing web site at the following location: www.packtpub.com.

The HRLister EAR file contains a single web application which, in turn, contains a servlet called listtable. The application is used to show how to deploy an application which uses a resource reference. The resource reference uses a JNDI lookup to find the data source and allow the application to connect to the HR database.

Our application contains several deployment descriptors; one is called application.xml ...

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