This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes Java in General and the fly likes ActiveX like JARs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "ActiveX like JARs" Watch "ActiveX like JARs" New topic
Author

ActiveX like JARs

Srinivas Kothuri
Greenhorn

Joined: Feb 08, 2010
Posts: 17
Hi,

I worked in developing ActiveX components using c# to support some extra functionality at script level for Internet Explorer.
It was an ActiveX DLL.
Is the same possible using Java, like creating a JAR/library by which I can expose the Java objects as JavaScript entities?
To what extent Applets are helpful in this?

Thank you
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42955
    
  73
You could embed an invisible applet on the page (maybe an applet that is 1 by 1 pixels large); then JavaScript can call public methods in that applet through a facility called "LiveConnect". See the AppletsFaq for some more detail on that.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 42204
    
  31
Too difficult a question for "beginning". Moving thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ActiveX like JARs