Re: Re: More questions

"Sasa Bojanic" <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <015101c57b30$7532d740$1200a8c0@bobrock>
Hi Dave,

I agree, we should prevent nulls to be send over CORBA.

Is there any particular problem with getting new objects for xxxIteratorExpressionBuilders?
As you know, this is the principal of CORBA shark to always create new CORBA object for every client request. If we would introduce
caches of CORBA objects, we could have problems if using several server VMs.

Regards,
Sasa.

----- Original Message -----
From: "David Forslund" <[email protected]>
To: <[email protected]>
Sent: Monday, June 27, 2005 7:13 AM
Subject: [shark] Re: More questions


> I notice in the AdminMisc.getBlockActivityId() method it can return a
> null string which throws an exception on the client.   I gather you use
> this to find out that the activity is not in the current process (at
> least according to the  inline comments).  Sending the null over CORBA
> causes an exception.  This is a bad idea to have CORBA throw an
> exception to decide to proceed to the next item.  There must be a better
> way.   I'm looking for any CORBA error to debug my POA implementation
> and this is causing me confusion, but basing logic decisions on
> Exceptions is generally not a good idea, in my opinion.
>
> The other question I have is that I see the
> getProcessMgrIteratorExpressionBuilder() method called numerous times in
> the ExpressionBuilderMgrCORBA class.  Each time it returns a new
> ProcessMgrIteratorExpressionBuilder, but isn't this always the same
> object on the server?   Perhaps I don't understand what is happening
> here, but it seems to me to making a lot of objects (albeit only
> wrappers) for the same underlying object.
>
> I am converging, but these little rabbit trails are distracting.
>
> Dave
>
>
>
>


--------------------------------------------------------------------------------


>
> --
> You receive this message as a subscriber of the [email protected] mailing list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
message.footer (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.