|
We have a Java system running on JBoss with a DB2/400 back end. It is working fine. The problem is that one of our customers wants to setup a training library. Most of the access is done using CMP beans, and I need to know if there is any way I can dynamically change what library/table a CMP bean is pointing to based on username for example.
If user JOEDOE is signed in I want him you access UnitEJB via prodlib/unit but if use TRAIN1 is signed in I want him to access UnitEJB via testlib/unit.
1. Does this make any sense? 2. Can something like this be done?It has always been my understanding that it could not be done but I'm hoping that somebody has been faced with a similar problem and can offer some advice.
Thanks, Robert
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.