Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets on IIS, anyone got some tips...?

 
Marius Holm
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!
I'm a bit rusty in Java as my work has kept me busy with MS-tech. But now I'd like to take it up again, and I would just looove to make some servlets. So, sneaking around on Sun's pages, at last I think I'm getting close to get the stuff I need to get started. But I would be happy to get some advice here.
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.
Regards,
Marius
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13077
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. JRun works fine with IIS as an add-on servlet container.
2. JRun comes with servlet and JSP related Jar files so you could use those instead of the servlet.jar you downloaded, but they should both be servlet API 2.2 compatible.
3. JDK 1.3 seems pretty stable on most systems from what I have heard.
4. The JRun servlet engine uses its own copies of Java libraries etc. but can be configured to use others as I recall. Read the installation docs.
5. Applets always use a separate JVM either built into the browser or the Sun plug-in.
6. Applets communicate with servlets only through URL connections.
Bill

------------------
author of:
 
Matt Morley
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also,
check out this article on Javaworld. You may be interested.
http://www.javaworld.com/javaworld/jw-06-2000/jw-0616-iis.html
Matt
 
Marius Holm
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys!
Marius
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic