RE: Mixing Cocoa and Cocoa-Java
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