The framework has been provided in both source code (*.java) and compiled bytecode (*.class) formats. To use the classes, you must put them in the directory where the Microsoft virtual machine (Microsoft VM) expects to find them.
Building a component in Java means creating a single Java class that you will instantiate from ASP as a COM object. This class is called the component class. It is possible that the component will create other Java objects or COM objects, which it uses internally. So, while the source code for your component might consist of multiple Java source files, there will be a single Java class that represents your component.
Creating components with the ASP Java Component Framework is easy.
To create a component
Note You only need to register the class once and you only need to register the class that is your component.
The following command shows how to register a component:
javareg /register /class:[<packagename>.]<classname> /progid:<progid>
For more information on registering a Java component, see the description of javareg in the Tools Reference section of the Microsoft SDK for Java documentation. You can also type javareg /? at the command prompt to see a list of the javareg command options.