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 11:37:44 GMT
Markus Wiederkehr wrote:
> Hello,
> 
> I have a Stateful Session Bean that needs to access a HiveMind service.
> 
> I wonder what is the best place to build the HiveMind registry in this
> case? And, since EJBs may not have static data members, where can I
> store the registry once I have created it?
> 
> Markus
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
> 

in ejbCreate/ejbActivate.
the datamembers must be serializable - so set it to null before 
passivisation.

I have the registry as a static private member of my ejb bean class - 
but I have stateless beans.

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