Microsoft® Internet Information Server (IIS) is an Internet file and application server included with the Microsoft® Windows NT® Server operating system. IIS can be used alone as a Web server, or in conjunction with compatible technologies to set up Internet commerce, to access and manipulate data from a variety of data sources, and to build Web applications that take advantage of server script and component code to deliver client-server functionality.
This section shows how IIS functionality is exposed to Java. This release concentrates on Active Server Pages (ASP). Exposure of the Internet Information Server Administration Objects (IISAO) to Java will be provided in future releases.
With ASP, you can activate your Web site using any combination of HTML, scripting, and components written in any language, including Java. When you make a change on the ASP file on the server, you need only save the changes to the file. The next time the Web page is loaded, the script will automatically be compiled.
The following IIS documents are provided.
An ASP You Can Grasp: The ABCs of Active Server Pages introduces the ASP technology, the ASP object model, and the ASP built-in objects.
ASP Technology Feature Overview focuses on using ASP to create client/server Web applications.
COM Objects in ASP describes some of the basics of COM in relation to Microsoft® ActiveX Data Objects (ADO).
Managing In-Process COM Components Using MTS and ASP Technology presents a solution for managing in-process COM components using MTS, a sample Microsoft® Visual Basic® component, and ASP technology.
IIS 4.0 and MTS 2.0: Technology for the Web explains why MTS was integrated into the IIS architecture, describes the three major benefits of this integration, and shows how to develop server-side components that use MTS.
The com.ms.asp package contains the raw wrappers that use native Java types and support native Java interfaces. It's much easier to use the com.ms.iis.asp package.
The com.ms.iis.asp package creates new interfaces that expose the ASP object model more naturally.
The com.ms.asp and com.ms.iis.asp packages are included in the Microsoft® SDK for Java. To install both packages on machines running versions of Microsoft® Windows® prior to Windows 2000, run IntegrationClasses.exe, which is located in the %SDKDIR%\Bin directory.
To install only the com.ms.iis.asp package on machines running Windows 2000, run IntegrationClasses2000.exe, which is located in the %SDKDIR%\Bin directory. This package is required to run the ASP Java Component Framework samples that are included with the Microsoft SDK for Java.
Important Windows 2000 installs an updated version of the com.ms.asp package in the Java\trustlib directory rather than into the Java Package Manager. If you use the IntegrationClasses.exe that was included in the Microsoft SDK for Java version 3.2 to install this package into the Java Package Manager on a Windows 2000 machine, the older version of the package will override the newer version installed in Java\trustlib. (The IntegrationClasses.exe in the version 4.0 SDK will not update a Windows 2000 system.)
To fix this, follow these steps to remove the com.ms.asp package from the Java Package Manager:
Warning Using the Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of the Registry Editor can be solved. Use the Registry Editor at your own risk.
For information on editing the registry, see the Changing Keys and Values Help topic in regedit.exe or the Add and Delete Information in the Registry and Edit Registry Data Help topics in regedt32.exe. Note that you should back up the registry before editing. You should also update your Emergency Repair Disk (ERD).
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Global Namespace\Java Packages\com\ms
"Path"="C:\WINNT\JAVA\Packages\MHZ9VDRB.ZIP" "Signer"="C:\WINNT\JAVA\Packages\Data\W13XZL3Z.DAT" "Info"=hex:00,00,05,00,5f,0c,00,00,1a,00,00,00
Note This restriction also applies to the com.ms.mtx package, which is installed by IntegrationClasses.exe. See Installing the MTX Package for information on removing the com.ms.mtx package from the Java Package Manager.