Is it possible to smartly bind  one Container-Managed EJB to
multiple data sources ?

What I would like to have - multiple data-sources (which differ only by
url:)
url="jdbc:weblogic:mssqlserver4:dragos:1433?db=a1"
url="jdbc:weblogic:mssqlserver4:dragos:1433?db=a2"
....
and one "physical" Entity Bean, which has different entries in the JNDI
namespace - something like
"a1/xx", "a2/xx" ...

I know that I can do that by deploying the bean more than one. Is it a
smarter way of doing that ?

Vlad Petric

Reply via email to