This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applets and native methods

 
jayram joshi
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 21341
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to the applets forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic