You are correct in thinking that you do not need to provide a weblogic-rdbms-jar.xml for your BMP. In fact, it will just be ignored. To access a datasource within your BMP all you need to do is look it up via JNDI. This can be done by using the JNDI name you configured in WebLogic or by setting a resource-ref to the datasource in your ejb-jar.xml descriptor.
Joined: Aug 18, 2003
Hi, Thank you very much for the response.
In my bean I was looking for a datasource using JNDI lookup. My problem is I was not able to configure the JNDI name in deployment descriptor.
I think I am not much clear in this concept. I would appreciate if you could explain me how whole thing works.
U have sighted two ways to do this "This can be done by using the JNDI name you configured in WebLogic or by setting a resource-ref to the datasource in your ejb-jar.xml descriptor". I would appreciate if you could give me a sample on how both of the proposed solutions can be acheived.