Chapter 9. Scripting LDAP: JavaScript and Java

Both Netscape Navigator and Microsoft Internet Explorer allow JavaScript developers to invoke methods in Java applets. This means that an HTML page can use JavaScript to take advantage of the classes in Directory SDK for Java. For example, you can set up an HTML form that queries your directory server.

Netscape Navigator also allows you to create and manipulate Java objects directly in JavaScript. Internet Explorer requires that you wrap them in COM (Component Object Model) objects first.

This chapter explains how to access methods in an LDAP-powered Java applet, as well as how to access the Java LDAP classes directly, from JavaScript in an HTML page.

Get LDAP Programming with Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.