Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

foidulus

macrumors 6502a
Original poster
Jan 15, 2007
904
1
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:
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.