Hi!
Adrian K�pe wrote:
> > So, for example, you're saying that you can have a FooBean that can get data
> > from both an Oracle database and a Sybase database *at the same time*!???
>
> Yes if there are 2 instances of the same bean where each of them point to a DS
> chosen at the runtime (and these instances require that).
>
> Example: I implement a ContainerBean which stores more BMPs and CMPs inside - or
> instanciate them and keeps the references. Those BMPs are instances of the same
> class FooBean, but each of them use different DS, tables etc.- the BMP is a
> generic table access bean. So, it could be that at X time FooBean1 use the DS1
> and in the same time FooBean2 use the DS2 and FooBean3 use DS1.
So, why don't you simply deploy the same bean once for each DS? Seems
much safer.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]