Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applets and JNI




On Oct 23, 2007, at 3:37 PM, Patrick Flaherty wrote:

I know you can call native code via JNI in an applet. If the native code has to be downloaded,
can that be done via an applet ? I see it can be done via an application (JNLP).

What I've done in JNA (http://jna.dev.java.net) is to extract the native code from the classpath as a resource and save it to local temporary space. This works for applets (if signed), web start, and standalone apps without any extra configuration.


Timothy Wall
http://abbot.sf.net


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Applets and JNI (From: Patrick Flaherty <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.