[omniORB] Authentication; Garbage Collection

Duncan Grisby duncan at grisby.org
Fri Jul 23 18:40:40 BST 2004


On Thursday 22 July, Alex Suzuki wrote:

> Duncan Grisby wrote:
>  > No, because you have a database. As long as you persist the object
>  > state before you evict the servant, it doesn't matter if a servant is
>  > evicted when the associated object reference is still held by a
>  > client. If a client tries to use the object, the servant will be
>  > reactivated and populated from the data in the database.
> 
> How do I accomplish this (reactivating the servant and populating it
> with data from the DB)? When do I have to do this, and where?

The normal way with the evictor pattern is to use a servant locator.
You really need to get Henning and Vinoski's book...

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list