The Microsoft virtual machine (Microsoft VM) makes Java applets scriptable. When a Java applet is running in a browser, such as Microsoft® Internet Explorer, most of the public methods and variables of the applet automatically become available to Microsoft® Visual Basic® Scripting Edition (VBScript) or any other language supporting the Microsoft® ActiveX® scripting protocol. Additionally, COM objects can implement the IDispatch interface to make themselves accessible from high-level languages such as Visual Basic and scripting languages such as JavaScript, VBScript, and Active Server Pages.
For more information, see the following topics:
Controlling an Applet Using Scripting
The following scripting samples are provided.
Sample | Description |
Event | Location: \Samples\Scripting\Event
Technologies: Scripting, ActiveX Demonstrates:
|
Organization Tree | Location: \Samples\Scripting\orgtree
Technologies: Scripting, ActiveX, AFC Demonstrates:
|
Java Package Manager | Location: \Samples\Packaging\Pkgmgmt
Technologies: Packaging, Java Package Manager (JPM), HTML scripting, security Demonstrates:
|
Script Debugger | Location: \Samples\Scripting\Script Debugger
Technologies: Scripting, COM Demonstrates:
|
INI Files for Java Code Signing | Location: \Samples\Security\sign
Technologies: Security, code signing, scripting Demonstrates:
|
XML Data Source Object | Location: \Samples\Scripting\xmldso
Technologies: Java XML DSO Data Source Provider; JavaScript interface to the XML Java Parser Demonstrates:
|