This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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: 20874

I'm moving this to the applets forum.

permaculture Wood Burning Stoves 2.0 - 4-DVD set
Have you checked out Aspose?
subject: applets and native methods
jQuery in Action, 3rd edition