>From: Mark Bernardinis [mailto:[EMAIL PROTECTED]]
>
>> It seems like what you want is either a SLSB which never 
>times out and
>> is guaranteed to only have one instance in the pool, or a BMP entity
>> bean with a guarantee of serialized transactions.
>> 
>
>This is exactly what I want to do. The only reason why I 
>wanted to use EJB
>was to get a bit more experience using them.
>
>What I really want is many pooled objects that share one 
>Master java object
>so that any number of users can access the java object without 
>being locked
>out.

If you're ok with a single JVM, the best-performing solution is probably
just a static variable (preferably hidden behind a factory method).  If
you have a clustered solution, you need an RMI server :-(

I really want a Singleton Bean too, especially one which allows
concurrent access.

Jeff


Reply via email to