Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SCEA I -- Legacy Connectivity

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To my understanding, applets cannot defined native method. However, applets can access legacy systems by calling native methods. Am I right?
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A lot of this depends on the browser.
Did the applet get delivered in a signed jar file and your browser is configured to trust code from the signer of the file?
Now you say you want to run a native method in this applet. Well are you trying to run on Windows, Linux, or Macintosh?
The point being that this is going to be hard to implement unless it's on a small scale and maybe an intranet.
So why would you want to run a native method in an applet?
Generally you want to run a native method via JNI over an RMI connection. I believe Ian's mock goes into this. Recently there was a thread where a number of people expressed opinions about this issue. Many thought CORBA was a better solution than RMI.
HTH...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic