The moose likes Beginning Java and the fly likes applets and native methods Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 17898

I'm moving this to the applets forum.
 
 
subject: applets and native methods
 
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture