Thanks. That has set me off on the right track. I also found this helpful posting at java.sun.com:
Forum Home > JavaServer Web Development Kit
Topic: Servlets on IIS, anyone got tips? Jan 22, 03:29 AM
The system I will run this on (for development and
testing only) is a MS Windows 2000 server, with MS IIS web server. The IIS does not support the servlet specs, I've heard, so I have downloaded the JRun Webserver from Allaire (it's free as a development version) which I believe I can set up as a servlet container within IIS.
For
Java development I have downloaded a package called 'J2SDK1_3_0', which I believe are the core Java classes, and a zip-file called servlet2_2b.zip (which contains a zipped file called 'servlet.jar'). Will it contain all I need for developing servlets? I am a bit confused when it comes to versioning, I understand 1.3.0 is a quite new release, how is support in different browsers/systems? This package will also probably install the JRE1.3, but if not I have downloaded that too. Is that the JRE I should use? I would presume that when testing an
Applet communicating with a Servlet on the same machine, that both the applet and the servlet use the same JRE to run. How will it affect execution if they run on two machines with different JRE's? And how about the 2.2b version of the servlet files? I have also downloaded an
IDE from Allaire, called Kawa. I have tried that before and like it, but that's a 90 day evaluation, so if anyone knows about a free IDE I would be happy to hear it.
If there are somebody that have any tips or tricks, or experiences with servlets under Windows, or if somebody could tell me if I got all I need (and how about JDBC?) I would be very thankful.
-----------------------------------------------------------------Re: Servlets on IIS, anyone got tips? Message 3 of 4
Alternatively, if you download the java server web development kit jswdk-1.0.1, available off this site somewhere, it has the servlet and
jsp jar files in their current versions and a built in webserver which although by no means powerful enough for real world use is great for development stuff because you don't have to move the servlets out of their home directory.
A general tip that I only discovered the other day but is really handy- copy any jar files that you need to use into the jre/lib/ext directory, because then the system can find them.
I do a lot of servlet development and I have also found Allaire's Kawa IDE to be a brilliant tool for this- it can be set up to run the server and recieve all its output for debugging and it doesn't touch your code at all. You can download it free for a while and its well worth a look if you want to use your own code but also use an IDE.