Javier Borrajo wrote:
> > In particular, I'm wondering if static data can be moved into a utility
> > class which is created by the EJB bean code, and therefore get around the
> > static restriction.
>
> We do just that. It works with several EJB servers we have evaluated.
> We use singleton lookup tables of read only data implemented with static
> instances.
This works great within a single JVM. If your 2000 users are being
load-balanced across 20 JVMs, each VM will have its own local "singleton".
This may be OK for your application, but be aware that this kind of
singleton isn't visible to all application instances serving all users.
Marc San Soucie
GemStone Systems, Inc.
Beaverton, Oregon
[EMAIL PROTECTED]
===========================================================================
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".
- Re: EJB Restrictions-- threads, io Ara Abrahamian
- Singletons (offshoot of EJB Restrictions-- threa... James Cook
- Re: Singletons (offshoot of EJB Restrictions... Marc San Soucie
- Re: Singletons (offshoot of EJB Restrictions... Ron Yust
- Re: Singletons (offshoot of EJB Restrictions... Mel Nedelman
- Re: EJB Restrictions-- threads, io Erik Huddleston
- Re: EJB Restrictions-- threads, io Erik . Romson
- Re: EJB Restrictions-- threads, io Erik . Romson
- Re: EJB Restrictions-- threads, io Armond Avanes
- Re: EJB Restrictions-- threads, io Javier Borrajo
- Re: EJB Restrictions-- threads, io Marc San Soucie
- Re: EJB Restrictions-- threads, io Ron Yust
- Re: EJB Restrictions-- threads, io Gabriel Lawrence
- Re: EJB Restrictions-- threads, io Javier Borrajo
- Re: EJB Restrictions-- threads, io Tye, Tim
- Re: EJB Restrictions-- threads, io Ron Yust
- Re: EJB Restrictions-- threads, io Chris Raber
- Re: EJB Restrictions-- threads, io Tye, Tim
- Re: EJB Restrictions-- threads, io Ron Yust
- Re: EJB Restrictions-- threads, io Rickard �berg
- Re: EJB Restrictions-- threads, io Ron Yust
