JBoss and Cocoa

Discussion in 'Mac Programming' started by foidulus, Jun 2, 2008.

  1. foidulus macrumors 6502a

    Jan 15, 2007
    I'm currently trying to investigate writing a new distributed app to only be used at where I work. We currently are using a Java only solution, but thanks to some new hardware, that is no longer possible, we will have to switch to at least some cocoa.

    I would like to do all my messaging using our existing JBoss infrastructure, but I'm not even sure that is possible. I guess I could probably use the now deprecated Cocoa-Java bindings, but is it possible to get the Cocoa app to talk JBoss without using the bindings?

    I'm just incredibly hesitant about using the bindings because Apple is really playing fast and loose with the ways it drops support for various APIs with little to now warning.:mad:
  2. robbieduncan Moderator emeritus


    Jul 24, 2002
    There would appear to be a couple of obvious solutions:

    1) Use standard Java native methods to interface
    2) Write a pure Java executable that does the messaging and spawn in instance of it from your Cocoa executable. Use normal STDIN/STDOUT to communicate.

Share This Page