On Thu, 2003-10-30 at 21:44, Chris Myers wrote: > HernÃn, > > Perhaps you could use XDoclet to automate the generation of the five > different implementations... > > Other than that, this sounds like an excellent use case for BMP.
I don't see that BMP can solve the problem. If the same primary key maps to potentially five different pieces of information the caching and locking will be less than optimal (if it doesn't break altogether). Regards, Adrian > > Regards, > Chris > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 30, 2003 3:49 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-dev] cmp with multiple datasource > > > this is my scenario: > we need to migrate an old application that have 5 different > implementations, so when a user log into the application, it is redirected > to his respective server. In each server is running the same data model but > with different data. > > Now, we are migrating this old app (client/server) to web but we cannot > change the data model (damn customer issue), so IÂm trying to not construct > different EJBs to each datasource. > > The meanwhile workaround is to create a new jar for each implementation (the > same code, but with different jndi names and datasources), but it represents > a heavy maintenance code... > > Any ideas? > > -----Original Message----- > From: Alexey Loubyansky [mailto:[EMAIL PROTECTED] > Sent: Jueves, 30 de Octubre de 2003 05:20 tarde > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-dev] cmp with multiple datasource > > > No way, at the moment. But could you tell why you would like to do it? > Thanks. > > [EMAIL PROTECTED] wrote: > > > Hi all, > > does anybody know how can I change the CMP entity bean datasource on > > runtime? > > Are there any workaround to get this? > > > > Regards, > > HernÃn. > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > JBoss-Development mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > JBoss-Development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > JBoss-Development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > JBoss-Development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development