• 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
RE: Mixing Cocoa and Cocoa-Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Mixing Cocoa and Cocoa-Java


  • Subject: RE: Mixing Cocoa and Cocoa-Java
  • From: Christopher Hickman <email@hidden>
  • Date: Mon, 27 Mar 2006 18:44:21 -0500

I don't want to port a java jar to c, or c++ so I was wondering if
Cocoa and Cocoa-Java or Cocoa and Java can be mixed while using
NIBs for interfacing.


Cocoa-java does exist and does work, but Apple has deprecated it and suggested against using it for shipping applications. The preferred way to use a Java library in Cocoa is to use Cocoa/ObjC (or PyObjC or Camel Bones) for your front end and plain-jane JNI to call into the Java routines. As long as they do something substantial enough to cover the 1ms overhead of a JNI call, you should do fine.


Technically, I don't believe the Java Bridge was deprecated, just
feature-locked. They said it won't be gaining any new functionality, but it
will remain working at its current implementation.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: Separate string/file into "words"
  • Next by Date: Re: Code generation from WSDL?
  • Previous by thread: Re: Mixing Cocoa and Cocoa-Java
  • Next by thread: Re: Mixing Cocoa and Cocoa-Java
  • Index(es):
    • Date
    • Thread