servlet
Home > SOA Definitions - Servlet
SearchSOA.com Definitions (Powered by WhatIs.com)
EMAIL THIS
LOOK UP TECH TERMS Powered by: WhatIs.com
Search listings for thousands of IT terms:
Browse tech terms alphabetically:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #

servlet



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

DEFINITION - A servlet is a small program that runs on a server. The term was coined in the context of the Java applet, a small program that is sent as a separate file along with a Web (HTML) page. Java applets, usually intended for running on a client, can result in such services as performing a calculation for a user or positioning an image based on user interaction.

Some programs, often those that access databases based on user input, need to be on the server. Typically, these have been implemented using a Common Gateway Interface (CGI) application. However, with a Java running in the server, such programs can be implemented with the Java programming language. The advantage of a Java servlet on servers with lots of traffic is that they can execute more quickly than CGI applications. Rather than causing a separate program process to be created, each user request is invoked as a thread in a single daemon process, meaning that the amount of system overhead for each request is slight.

Instead of a URL that designates the name of a CGI application (in a "cgi-bin" subdirectory), a request in a form on a Web HTML page that results in a Java servlet getting called would call a URL that looks like this:

   http://www.whatis.com:8080/servlet/gotoUrl?http://www.someplace.com

The "8080" port number in the URL means the request is intended directly for the Web server itself. The "servlet" would indicate to the Web server that a servlet was being requested.

Add-on modules allow Java servlets to run in Netscape Enterprise, Microsoft Internet Information Server (IIS), and Apache servers.

LAST UPDATED: 04 Apr 2005

Read more about servlet:
- Servlet Central , an online magazine devoted to Java server-side topics, includes some how-to papers.
- Sun's article, Inside the Java Web Server , includes a discussion of the Servlet API.
- Sun also offers a home page for the Servlet API .


Do you have something to add to this definition? Let us know.
Send your comments to techterms@whatis.com


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Adobe Integrated Runtime (AIR) melds with ColdFusion - builds calendaring system for child services agency
The San Diego Department of Child Support Services took its ColdFusion skills into the world of Web 2.0 when it created the RIA view for a child...
Oracle re-brands BEA WebLogic as its strategic server for SOA
Oracle is moving quickly to assure BEA customers that the WebLogic Java application server has an important place in the Oracle portfolio.
Ajax and Flex try to co-exist inside RIA development
Ajax and Flex are complementary not competitors in rich Internet application (RIA) development for service-oriented architecture (SOA) applications,...

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Hadoop  (SearchSOA.com)
Hadoop is a free, Java-based programming framework that supports the processing of large data sets in a distributed computing environment. It is part...
Java Card  (SearchSOA.com)




About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2001 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts