| Article: |
Mixing Java and Titanium: Part Three | |
| Subject: | Why use "Cocoa Java"? Why not just plain old "Cocoa" or JDK 1.whatever and Swing? | |
| Date: | 2001-10-01 10:35:39 | |
| From: | smithkennedy | |
|
This is not meant to antagonize anybody. I am genuinely curious. I don't undestand why somebody would want to do this.
|
||
Showing messages 1 through 4 of 4.
-
Why use "Cocoa Java"? Why not just plain old "Cocoa" or JDK 1.whatever and Swing?
2003-12-05 01:07:30 maerics [View]
-
Why use "Cocoa Java"? Why not just plain old "Cocoa" or JDK 1.whatever and Swing?
2002-06-04 21:58:54 kastork [View]
I think Apple developed this whole system to enable the use of Interface Builder. Goal being -- make it easy to make Mac OSX programs using Java, as opposed to making Java programs that happen to run nice on OSX.
-
I use Swing.
2001-10-04 12:27:36 gagganator [View]
I think you are absolutely right. Java Cocoa is probably faster than Java Swing but slower than Obj-C. Probably Java Cocoa is an easier way to speed a Java program than rewriting in C; however with accelerated Swing the gap will close.
-
RE: Why use "Cocoa Java"? Why not just plain old "Cocoa" or JDK 1.whatever and Swing?
2001-10-01 10:37:10 smithkennedy [View]
my email address is "smith_kennedy" at "hp.com".



But I've got to agree with you. JNI is "Java" only in language, not in portability. So the only real reason to use Cocoa java is because you want to write a serious application for Mac OS X and are more comfortable with Java than with Objective-C. But of course, that's not so strong a justification until Apple comes up with JNI wrappers for all of the frameworks (Security I'm looking at you).
-mike