Re: Creating a JavaVM with JNI & Re:JavaBridge
Re: Creating a JavaVM with JNI & Re:JavaBridge
- Subject: Re: Creating a JavaVM with JNI & Re:JavaBridge
- From: "James B. Tuley" <email@hidden>
- Date: Sat, 5 Mar 2005 20:13:45 -0600
On Mar 5, 2005, at 7:22 PM, Finlay Dobbie wrote:
On Sat, 5 Mar 2005 19:16:14 -0600, James B. Tuley <email@hidden>
wrote:
On Mar 3, 2005, at 2:45 AM, Phil wrote:
Since using the Java Bridge is depreciated (and liable to get you
flamed),
There's always been little documentation on the Java Bridge, but it
doesn't look deprecated from the standpoint of calling Java API's from
Obj-C I see no mention of deprecation or use at your own risk in the
headers.
Nowhere does it say that you can do this in the documentation or
headers, though. I looked long and hard, and I couldn't see anything
about this anywhere other than some tutorials floating about.
Well the methods use for instantiate java objects in objective-c are
very clearly listed (and commented) in the public header
/System/Library/Frameworks/JavaVM.Framwork/Headers/
NSJavaVirtualMachine.h
I also found a small apple article on Java Bridge Last updated:
2004-08-31 ->
http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaObjects/
Articles/JavaCocoa.html
That mentions using classes from both environments.
Doesn't mention that you can instantiate Java objects from Obj-C.
Yeah but if you can't instantiate Java objects from Obj-C, it kind of
makes this statement pointless "The Java bridge lets you write code in
one language that can reference an object in the other language. Java
objects can thus coexist with Objective-C ones in either language
environment"
DTS told me.
::hands up in there air::
-Jay
_______________________________________________
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