Re: XPC Question
Re: XPC Question
- Subject: Re: XPC Question
- From: Sandor Szatmari <email@hidden>
- Date: Tue, 18 Sep 2018 16:37:28 -0400
Alistair,
> On Sep 18, 2018, at 13:25, Alastair Houghton <email@hidden>
> wrote:
>
>> On 18 Sep 2018, at 16:48, Sandor Szatmari <email@hidden>
>> wrote:
>>
>> Thanks Alistair!
>>
>> Anyone else have additional info?
>
> Well, Cocoa has Distributed Objects, which you could use for this purpose.
> DO has some interesting behaviour
Yes, we have several DO apps. We’ve used DO for 10+ years for LAN based peer
to peer solution on in house apps. I am looking to implement some new
functionality and wanted to stay away from deprecated technology if I can. So,
I was looking at newer solutions so as to not reinvent the wheel. So it
appears that XPC is only like interprocess DO, and is unable to do
inter-machine RPC. Ok, thanks! And quite a nice breakdown of the RPC bone
yard. Hearing CORBA takes me back down memory lane. :)
Thanks again for your time and thoughts!
Sandor
> (in particular, watch out - it can throw exceptions, even when calling
> methods that don’t normally do so), but it does let you send messages to
> objects fairly easily over a network. There’s also Sun RPC (which uses the
> rpcgen tool, which you can find documented here:
> <https://docs.oracle.com/cd/E19683-01/816-1435/rpcgenpguide-24243/index.html>).
> Both of those are built-in to the macOS.
>
> There are other options too, but they’ll be more work; for instance CORBA,
> DCE RPC (or indeed DCOM, which is based on it), SOAP, XML-RPC, or a Restful
> HTTP(S) interface. Or, indeed, a custom TCP-based server.
>
> Exactly what you use depends on what’s best for your use case, which you
> don’t describe. In particular, cross-platform support is a major driver
> here; if you use DO, you probably won’t find it easy to talk to Windows or
> Linux machines if you ever need to in the future, and while Sun RPC is easy
> on most UNIX systems, Windows uses DCE RPC. CORBA is probably only of
> interest if you’re trying to talk to some enterprise system already built
> with it. SOAP, XML-RPC and Restful HTTP(S) are fairly general purpose and
> might be good choices if you ever wanted to talk to a server built with (say)
> Python or Ruby.
>
> Anyway...
>
> Kind regards,
>
> Alastair.
>
> --
> http://alastairs-place.net
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden