title: Mac OS X - what's the best way of "communication" between an Cocoa app and a Java based app (daemon) running on the same box
body: <p>I have an app written in objective-c on Cocoa, having some UI. I am planning to write another Java app that could runs in the background and auto start (essentially a dameon). And then the Cocoa app will "communicate" with the Java app to start doing some tasks periodically or on demand. Is that doable? If so, what'll be the best way of communication between the two in terms of programming complexities? Socket? via File? Named pipe? </p>