spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / xml / column18

An XML toolkit for Web servers

Enabling servlets

Vice President of Risk Technology - READY TO HIRE! (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans


As mentioned earlier servlets can be used to replace CGI scripts that often rely on server APIs. Java has built-in support for things like networking, database access, and string manipulation that are uniform across server platforms. This way, servlets are easily portable to any Java-enabled Web server. So you can develop servlets on a Windows 98 laptop and copy them directly over to a Web server, which might be running Apache under Solaris.

The servlet API is a standard Java extension and comes as part of the JDK 1.2. The Java Servlet Development Kit (JSDK) also provides a simple Java server, ServletRunner, for testing servlets locally before deploying.

Many Web servers can host servlets, but support may not be enabled. Check with your system administrator or Web hosting service to determine if your server can. If your server does not support servlets, then you need to get one of the many servlet engines available. Your choices include:

The first two are Open Source projects from the Apache Group, creators of the most popular Web server of the same name. The latter two are commercial offerings, but free evaluation versions are available. Every Java Application Server also comes with a servlet engine.

Apache Tomcat is itself an all-Java implementation so the installation amounts to putting the JAR Java Archive somewhere and starting the servlet engine using the Java runtime installed before. All of these products have detailed installation instructions, and the Windows versions come in installer packages.

Next is the installation of the XSL Processor:

http://www.internet.com


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Search Engine Optimization: Selecting and Embedding Keywords · Are Google's Language Translation Web Services Ready for Prime Time? · Installing and Using Meeplace, the Business Review CMS
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
IBM DB2 10 for z/OS: Justifying the Upgrade · Living La Vida Colo: Choosing the Right Colocation Facility · FTC Concerns over Social Media Privacy Linger

Produced by Michael Claßen
All Rights Reserved. Legal Notices.

URL: http://www.webreference.com/xml/column18/3.html
Created: Aug 27, 2000
Revised: Aug 27, 2000