This content has been marked as final.
Show 1 reply
-
1. Re: creating more than one datasource in standardjbosscmp-jd
darranl Jun 17, 2004 9:23 AM (in response to sivauser)This is assuming that you are using CMP.
You will need to deploy the entity beans with a jbosscmp-jdbc.xml deployment descriptor, within this deployment descriptor you can configure different datasources for different entity beans.
See the dtd for more information on how to structure the file.
If you are using BMP then each bean can just use the different JNDI name to obtain its connection.