aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 16
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
Marshal

Joined: Mar 22, 2005
Posts: 39541
    
  27
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.


Ping & DNS - updated with new look and Ping home screen widget
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
Too difficult a question for "beginning". Moving thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ActiveX like JARs
 
Similar Threads
accessing system info
Activex controls with Java
to open an exe within the internalframe
ActiveX to Java
Activex Object not defined in jsp