× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm not sure if this is exactly the best thread for this question but I think the folks on here are helpful enough that I might be able to find some support.

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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.