File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes SCEA I -- Legacy Connectivity Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "SCEA I -- Legacy Connectivity" Watch "SCEA I -- Legacy Connectivity" New topic
Author

SCEA I -- Legacy Connectivity

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
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

Joined: Feb 22, 2002
Posts: 1551
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...
 
 
subject: SCEA I -- Legacy Connectivity
 
Threads others viewed
Legacy Connectivity Notes
Applets and Legacy?
finalize method
Connectivity Between Applets and Legacy Systems
Another 'Y' game
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