Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "applets and native methods" Watch "applets and native methods" New topic

applets and native methods

jayram joshi

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..
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 then that applet can't access the native methods
in ur machine. but it can access native methods of yahoo server machine.
paul wheaton

Joined: Dec 14, 1998
Posts: 20916

I'm moving this to the applets forum.

permaculture Wood Burning Stoves 2.0 - 4-DVD set
I agree. Here's the link:
subject: applets and native methods
It's not a secret anymore!