Re: More questions

David Forslund <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
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
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.