Hi,
> Are you really really saying that for each bean, say FooBean, that you
> deploy you are going to have content to it coming from several
> datasources???
Yes (some of them could use the same DS, but generally could be different)
> Well, first I want to find out what you really are trying to do, and why. I
> think that if you have several datasources with content for one bean, then
> you are asking for trouble.
I have the same bean (class) but more instances in the running time where each
has its own DS.
> 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.
I think that's it.
bye.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]