Reputation: 43
I have a java instalation package (jars with necessary support files in local system) , is it possible to call a function(in java installtion package) from html ? or any other supporting technologies
eg: in my local system, i will have (C:\myapp\lib\test.jar), i need to make a call to a method in the jar from html . which technology can be used to enable this .
A web app(servlet container) will be used to generate the html code
Upvotes: 0
Views: 925
Reputation: 121759
Q: Do you want to run your .jar client side (as an applet), or server side (as a servlet)?
It sounds like you want to execute an Applet on the client's PC. It also sounds like you want to read and write to the user's filesystem, which requires special privileges.
Here is a good article on creating a "trusted applet":
See also:
http://docs.oracle.com/javase/6/docs/technotes/guides/security/spec/security-spec.doc1.html
http://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-Desktop/html/plugin.html
Upvotes: 1