|
19-06-08 / 23:03 : All about Apple JavaBridge from 1999 (cjed) | In an article from Stepwise as old as 1999 (!) we discover how Apple's JavaBridge - recently deprecated - works. It used mainly proxies, created using JNI. When we know reliability problems with this technology (an exception raised in the target language - here a Cocoa classe method call - leads to the kill of the caller - ie Java program/JVM), without mentioning expected performances hit, we understand why Apple made that choice (appart from strategic reasons). Even IBM announced that it plans to remove JNI APIs support from Websphere, as in that area problems can lead to the death of the whole application server (launched through the JVM). The full rewrite of Cocoa in Java would be too much long (and costly), being finally limited by Java runtime restrictions, and Apple hopes it can bring developers to Objective-C thanks to the iphone SDK and its new frameworks (UIKit - a special version of AppKit -, and Cocoa Touch). | | Comments | Write a comment | |
|