spacer

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

home / experts / xml / column18

An XML toolkit for Web servers

Enabling servlets

Sr Instructional Designer D2L-Moodle,Clearance
WSI Nationwide, Inc.
US-NJ-Fort Monmouth

Justtechjobs.com Post A Job | Post A Resume
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs


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, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

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