you can try using BMPs and rely on the Data Access Object pattern to mediate the data sources.
 
fh
 
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]On Behalf Of Roshd Afzar
Sent: Monday, August 27, 2001 9:45 AM
To: [EMAIL PROTECTED]
Subject: J2EE

We are developing a multi-tier enterprise application

using J2EE . The problem we have is that we

will have unspecified number of databases,

one for each user that is we need to create a separate

database for each of the users of our system.

we need to make the appropriate connection

to these databases based on the information the users

enter at logon.How should we handle this? notice that we want to

implement our business objects as Entity Beans and at the time

of deployment we really do not know the datasource of these

Entity Beans since it will depend on database the user want to

connect.In another word we need to specify the datasource for out

Entity Beans dynamically.We would be thankfull if anyone can give

us comments and suggestions about this problem.

Reply via email to