HomeJava & J2EE Page 2 - Getting Started with Java Servlets using Apache JServ
Installation - Java
In the quest for more dynamic content, web server technologies have flourished. One particular solution to provide this dynamic content is Java Servlet technology. As a replacement to the traditional CGI script approach, servlets give developers a powerful tool to create web enabled applications. Not only does the servlet solution give developers the ease of using the Java language, it is also offers a more efficient solution in terms of CPU power.
Setting up Apache Jserv is a fairly involved process, which includes installing serveral different components. The Jserv team already spent some considerable effort on the INSTALL document bundled with the Apache-Jserv package, and is an excellent document to get you started on how to set up your servlet-enabled Apache web server. Furthermore, more installation help is available at the Apache Jserv web site's Instruction and Howto's section. The articles there go over the whole installation process, as well as the issues involved in installing Apache Jserv on *nix systems as well as Windows operating systems. Ari Halberstadt's "Using Apache Jserv 1.0 article is particularly good for installing Apache Jserv.
To help you get started, you may want to download these following components as you're reviewing the INSTALL file.
The Java Servlet SDK version 2.0: http://java.sun.com/products/servlet Make sure you get the 2.0 version JSDK; Jserv hasn't been patched to work with JSDK 2.1 yet.
Java - for linux, the Blackdown JDK works well. http://www.blackdown.org Make sure you download the package that's appropriate for your system (ie architecture and libc libraries). For Win32 systems, you can get java from Sun at http://java.sun.com/j2se IBM also has a JVM for linux as well, however the license for it expires after 90 days. http://www.alphaworks.ibm.com/tech/linuxjvm