[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling other code in Java applications and applets



Lucky Green wrote:
> 
> At 21:50 4/29/96, Timothy C. May wrote:
> 
> >By the way, I had a discussion at a party with several Sun folks and other
> >Java programmers, and they agreed that external code (C, for example) could
> >be called, even by an _applet_, if arranged. For example, various
> >underlying graphics routines in the AWT (Alternative Window Toolkit)
> >package are of course using underlying code written in various other
> >languages, code that has been reasonably optimized for speed.
> 
> I understand that calling C libs from Java is possible, but the details how
> to go about that are still hazy to me. It is also unclear if Sun will
> support this dual coding as a general capability that can be used by all
> Java apps (don't think of Java just as downloadable applets) or require
> that all modules, to give an example, for a certain soon to be very
> relevant Java application to be written in 100% Java.

  Our Navigator 3.0 release will allow java and javascript to call into
plugins.  Since plugins are native code, you will be able to freely mix
C and Java.  Of course you will have to get the user to install your
plugin on their disk.  

	--Jeff

-- 
Jeff Weinstein - Electronic Munitions Specialist
Netscape Communication Corporation
[email protected] - http://home.netscape.com/people/jsw
Any opinions expressed above are mine.