• 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
Why Cocoa-java?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Why Cocoa-java?
      • From: Andy Lee <email@hidden>
  • Prev by Date: ATSUI, Glyphs, Unicode cmap, mort or morx tables (Arabic)
  • Next by Date: Re: Why Cocoa-java?
  • Previous by thread: ATSUI, Glyphs, Unicode cmap, mort or morx tables (Arabic)
  • Next by thread: Re: Why Cocoa-java?
  • Index(es):
    • Date
    • Thread