Re: CORBA with Mac OS X
Re: CORBA with Mac OS X
- Subject: Re: CORBA with Mac OS X
- From: Jonathan Hendry <email@hidden>
- Date: Fri, 19 Oct 2001 22:14:20 -0500
On Friday, October 19, 2001, at 05:41 , Scott Thompson wrote:
3. Is it easier or harder from Java?
I would venture to suggest that calling the Java ORB from Java would be
easier than trying to do it from Objective-C. The task of connecting to
the Java VM is pretty easy, but it's an extra step that you have to go
through.
The threading support in Java might also make contracting with the ORB in
multiple threads a little bit easier (though Cocoa's NSThread classes are
really nice).
You have the tradeoffs for Java and Objective-C that are intrisic to the
languages too (Objective-C is native code, Java is JIT compiled,
Objective-C has explicit memory management, Java has a garbage collector,
etc...)
Another possibility might be to create a standalone Cocoa-Java 'tool'
daemon
that could translate between Apple's Distributed Objects messages and
CORBA calls and back. An Objective-C/C/C++ Cocoa app would launch the
daemon, then the daemon would mediate between the Cocoa app and the
CORBA system.
- J