Methods and systems are provided which make security, licensing, and
browsing capabilities of directory services available for use with the
Java language and environment, and thus provide an alternative to security
restrictions imposed on Java applets. A Java component type is created in
a directory services schema. The Java component type specifies where a
Java class can be found in a LAN or on the Internet. The key attributes of
the Java component type are its common name (specifying a Java class) and
either a reference to the file containing the Java class's byte codes or a
binary stream attribute containing the byte codes. The loadClass( ) method
is extended to look for Java classes within a directory services database.
The directory services features thus made available include support for
securing, metering, and licensing individual Java classes.