Re: Any news about Cocoa Java ?
Re: Any news about Cocoa Java ?
- Subject: Re: Any news about Cocoa Java ?
- From: Dominik Pich <email@hidden>
- Date: Sun, 3 Oct 2004 18:47:13 +0200
Will itbe /Is it possible to use cocoa from java without having an ObjC
root?
Now I can:
ObjC (main)
-> java
-> cocoa
I'd prefer
java (main)
-> cocoa
Thanks,
Dominik
On Oct 3, 2004, at 3:19 PM, Mike Hall wrote:
From: M. Uli Kusterer <email@hidden>
To: Ivan <email@hidden>, Cocoa Dev <email@hidden>
Date: Sun Oct 03, 2004 06:35:27 AM CDT
Subject: Re: Any news about Cocoa Java ?
At 18:17 Uhr +0800 03.10.2004, Ivan wrote:
Will Apple release new version of Cocoa Java or any plan to
improve
Cocoa Java ?
Cocoa Java is just a couple of bridges that let Java programs talk
to the ObjC libraries. So, whenever there's a new version of Cocoa,
the java folks will get new stuff as well.
There is I think a bit more to it than that. The interface technology
is based on the infamous 'java bridge' from what I've heard. This
means as I understand it that yes somehow the java automagically
interfaces directly to Cocoa native. That does not however mean
nothing needs to be done on the java side. Java classes still need to
be present that do the interfacing. If a new Cocoa class appears and
no corresponding Java class is written to interface to it then you
can't get to it from java. Also, although my understanding is that
while at some point Apple provided developer access to the bridge for
their own use, tools etc., they now no longer do. So if Apple
themselves doesn't write the java class interface the developer will
not get it. It has been indicated on the javadev list that this is not
the Apple java team that does this either.
It occasionally came up on the javadev list as to if anyone was still
successfully figuring out how to develope to the cocoa java bridge. I
never noticed anyone indicating a lot of success. This was maybe the
one reason I attempted the Cocoa interfaces currently included in the
JNIDirect I work with. Although so far no one has jumped up and said
yes this is the Cocoa interface we can develope to. I was still
developing to it and when I can code OS X again which I currently
can't I probably still will put some time into my Cocoa stuff.
Apple have also been improving xCode's support for Java, and the web
site on xCode 2.0 promises more improvements for xCode's Java support.
So, I think the answer to your question is 'yes they will' and 'yes
they already did'. With every .1.0 update step we pretty much got a
new Cocoa version. Why should this change now?
Again on javadev people seem less sure of this. Apple seems to be
straddling the fence on Cocoa java a bit. They don't say they don't
support it or that it is legacy or going away. But there is the
absence of the bridge developer support and the fact the Cocoa classes
aren't in the default java class path which seems to suggest they
aren't pushing for full developer use and support.j
Odd.
Mike Hall mikehall at spacestar dot net
http://www.spacestar.net/users/mikehall
_______________________________________________
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
_______________________________________________
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