Search for my name on the J2EE and EJB listservs. I am working on a similar problem. I believe you got a suggestion on the J2EE listserver regarding multiple deployments of the application (or part of). That is exactly what I am doing. I deploy my application once for each datasource. It actually works exceptionally well. I use an ant 'replace regular expression' task to change the deploy descriptors at build time.
Kevin E. Gaasch Panhandle Plains Student Loan Center Software Developer Work: 806.324.4100 x4215 Cell: 806.674.1523 >>> Paul Hodgetts <[EMAIL PROTECTED]> 10/01/02 08:43AM >>> Is there a way to dynamically vary the data source or table name with a CMP entity bean (EJB 2.0)? As far as I can tell, both seem to be specified in the deployment descriptor(s), so it looks like they are static with regards to a deployed application. I would guess varying the table name is not going to be possible, since the deployment tools need to generate the implementation classes with the SQL at deployment time. Is there any way to manipulate the data source in use, perhaps through the context or something? Thanks in advance for any help, Paul =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
