[Adium-devl] Java/ObjC bridge question

Andreas Monitzer soc at monitzer.com
Tue Dec 12 19:44:16 UTC 2006


On Dec 12, 2006, at 17:54, Andre-John Mas wrote:

> I know the reason that Joscar was dropped was because of the "Java/
> ObjC bridge"
> being deprecated. At the same time what did the bridge offer over a
> JNI type
> approach? The reason I am asking is because I want to see if there
> are any
> suitable strategies for cases where a particular IM protocol is only
> available
> in the form of a Java library. See this more as an "intellectual
> exercise" at
> this point in time.

JNI is complicated to use and a C-based API, while the JavaBridge  
allowed seamless usage of Java Classes from Objective C without  
requiring any glue code (in theory; there were a few issues with that).
That said, it's quite possible to reinvent the JavaBridge based on  
JNI (which could even fix those issues in Apple's implementation).  
However, nobody has had the time or incentive to do that yet.

andy





More information about the devel mailing list