AW: AW: [omniORB] Boost shared_ptr

Kevin Bailey ke-omniorb at retriever.dyndns.org
Mon Nov 17 08:20:39 GMT 2008


On Mon, Nov 17, 2008 at 10:59:45AM +0100, V?zquez Landa, David wrote:

> Right now I'm using unique ID's and I'm not sure whether to use
> "SYSTEM_ID" or "USER_ID" --I'm more inclined to use "SYSTEM_ID" though.
> 
> And about persistence... Well, as I understand it, my persistence objects
> are the ones stored in the database, CORBA servants and clients are no
> more than interfaces to those objects --damn! I hope I'm not doing
> something really wrong here. Anyway, I have one Factory class, which I use
> to get instances of any object I may need (that's pure Java), and in the
> CORBA implementation I defined an interface for this factory which
> implements ist methods. In other words it's a "CorbaFactory", it uses the
> normal pure Java Factory to create the db Objects and delivers servants
> for each one of them.  (haha, I think I just explained something utterly
> obvious)

Take a look at Henning&Vinoski. It sounds like the USER_ID,
NON_RETAIN and SERVANT_MANAGER might be appropriate to what
you're doing and they describe it well.



More information about the omniORB-list mailing list