G'day and a Merry Christmas to all,

> Ok, so I made the following entries in to the datasources xml
> file.  Things
> appear to work better. But I have three questions:
>
> 1. Which data source are my beans using?
By default your beans use the DefaultXADS I believe - although I've never
used a com.evermind.server.ejb.EJBDataSource before so they could be using
that. In my EJB  work I've only ever needed DefaultXADataSource

> 2. How do I tell a particular bean to use a different data source?
In the bean's deployment descriptor,(bean directory/orion/orion-ejb-jar.xml)
there is a <datasource> tag for each bean that you can change and it will be
kept.

> 3. Where did you find this information out?
Trial and error, this list and Magnus himself ;)

> Thanks.
> -AP_

Np

Mike


Reply via email to