File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes using DataSource in RAD 7.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "using DataSource in RAD 7.5" Watch "using DataSource in RAD 7.5" New topic

using DataSource in RAD 7.5

Thomas Houseman
Ranch Hand

Joined: Jul 30, 2009
Posts: 31
I used to work with RAD 7 and WAS 6.0 and call a DataSource from my servlet by using a reference I created earlier from RAD itselt.

Now I'm working on RAD 7.5 and WAS 7.0 and I tried to create a reference to the same DS, but there is no field for adding the DS jndi name. Did I missed something ? How should I connect to the DS with RAD 7.5 ?

Thanks !!
Mike Singer

Joined: Aug 18, 2010
Posts: 3
Are you attempting to add it as a resource reference in the web.xml? I've seen this behavior in RAD 7.5 versus RSA 7.5. Make sure it is opening the the Deployment Descriptor Editor.

Thomas Houseman
Ranch Hand

Joined: Jul 30, 2009
Posts: 31
In RAD 7 I created a datasource reference through "Deployment Descriptor" :
1. Open DD.
2. click the "References"
3. click "Add" and create a DS Reference.
4. Then add the "JNDI Name" in the right field.

The problem is that in RAD 7.5 I don't have ch.4, means I don't have any field to place the "JNDI name" of the DataSource.
So how should the WEB application will know what the JNDI name is ? how should it access to the data source on the server ?

I agree. Here's the link:
subject: using DataSource in RAD 7.5
It's not a secret anymore!