Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

calling native methods from applet

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application written in servlets and jsps. I need to use native code from a dll on the client which will return a string to go back to a servlet which then loads a new page into the clients current browser window. Is the best(and/or easiest) way to do this to use a signed applet to call the methods from a JNI wrapper dll, or could a separate java application on the client do this and communicate with the servlet?
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Matt,
Signed applet seems to be a better option.
If u want to write a seperate java papplication, client has to download the application first. Also it makes compulsory to have jdk on client's machine.
A feeble attempt to tell you about our stuff that makes us money
ScroogeXHTML 9.0 - RTF to HTML5 and XHTML converter
    Bookmark Topic Watch Topic
  • New Topic