Why Cocoa-java?
Why Cocoa-java?
- Subject: Why Cocoa-java?
- From: praveena tandon <email@hidden>
- Date: Sun, 21 Apr 2002 20:45:17 -0700 (PDT)
Hi all,
I had originally thought that the Java Cocoa bindings
were created by Apple to allow Java or C++ programmers
to more easily author native binary programs using the
Cocoa framework, but allow them to leverage their
familiarity with Java/C++ syntax. But a program
written in Java using the Cocoa APIs does not compile
into a native binary. Instead, it compiles into the
usual Java bytecodes. The Cocoa Java bindings are
simply JNI interfaces into the Cocoa framework. But
this program has been written using a
platform-dependent Java API, which means it isn't
portable to other platforms. So you end up with a
program that is tied to one platform, but doesn't
execute natively on that platform.
Is there is any distinct advantage when using
cocoa -java applicaion. If I am a skilled Java
programmer, why would I not just write my program
using whatever version of the JDK makes sense? I
already know the APIs / frameworks available to me -
why learn something new that isn't portable.
Regards
Praveena
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.