File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes applets and native methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "applets and native methods" Watch "applets and native methods" New topic
Author

applets and native methods

jayram joshi
Greenhorn

Joined: Aug 05, 2000
Posts: 23
can applets under normal conditions call native methods??
if yes then isnt it a security hazard
if no then how can the applets use native methods defined in the java standard library..
TAI
Jayram
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
hai ,
applets can access native methods when it is accessing its own host.
for e.g suppose u r downloading an applet from yahoo.com then that applet can't access the native methods
in ur machine. but it can access native methods of yahoo server machine.
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20690
    ∞

I'm moving this to the applets forum.


permaculture Wood Burning Stoves 2.0 - 4-DVD set
 
jQuery in Action, 2nd edition
 
subject: applets and native methods