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

Reply via email to