spacer

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

home / experts / xml / column18

An XML toolkit for Web servers

Enabling servlets

Technical Lead
Thomson Reuters (Markets) LLC
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?


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

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

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

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

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