hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. M. Karlsen" <da...@davidkarlsen.com>
Subject Re: HiveMind and EJB
Date Wed, 09 Mar 2005 12:43:49 GMT
Markus Wiederkehr wrote:
> On Wed, 09 Mar 2005 12:37:44 +0100, David J. M. Karlsen
> <david@davidkarlsen.com> wrote:
> 
>>in ejbCreate/ejbActivate.
> 
> 
> But I want to build the registry only once, not every time a bean gets
> created or activated.
But I think the operation only "costs" the first time - and the same 
instance is returned all other times.

> Using the transient keyword would be another option.
That's true - but you may or may not get problems depending on the 
appserver in question (AFAIK). I used this with JBoss (for some other 
private non-serializable variables - and it worked.)


-- 
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message