advertisement

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:   2003-12-05 01:07:30
From:   maerics
Response to: Why use "Cocoa Java"? Why not just plain old "Cocoa" or JDK 1.whatever and Swing?

Interface Builder. In half an hour you can create a polished, intuitive GUI that plugs right in to your code. And, if you use the MVC paradigm well you can reuse the model objects and just write new controllers for, say, a pure java GUI.


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