• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa & Java: Interapplication Communication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Newbie - Setting a window to a title other then document file name
  • Next by Date: Re: Newbie - Setting a window to a title other then document file name
  • Previous by thread: Re: Newbie - Setting a window to a title other then document file name
  • Next by thread: NSComboBox - Not Drawing the List
  • Index(es):
    • Date
    • Thread