Cocoa & Java: Interapplication Communication
Cocoa & Java: Interapplication Communication
- Subject: Cocoa & Java: Interapplication Communication
- From: email@hidden
- Date: Wed, 17 Sep 2003 15:45:04 -0700
I have a Cocoa (Obj-C) application and a headless Java application that
until recently were happily able to communicate with each other via
NSDistributedNotificationCenter. I found this to be a much cleaner way
to trigger actions in each application without the use of (and
limitations of) the Java bridge. Unfortunately, the recent Java 1.4.1
update seems to completely break the use of
NSDistributedNotificationCenter in Java applications and so I can no
longer rely on this technique.
I'm working on moving to low-level socket communication to get my work
done, but am finding this to be more of a challenge than expected.
Does anyone have any pointers on using sockets to communicate between
Java and Obj-C applications (e.g., serializing data and passing it back
and forth)? Possibly better still, does anyone have suggestions for
other ways I may go about making this all work harmoniously?
Thanks much!,
- Eric
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.