Technical Support
Discussion Forum
Online Training
Technical Articles
Bug Parade
JDC Resources
DukeDollars
Early Access Toolbar

Java Cup Logo
java.sun.com


Solaris Developer Connection

JDC Home Page

Log Out

Online Training
shadowSearchFAQFeedback

Training Index

Fundamentals of JavaTM Servlets:
Introduction

By MageLang Institute

[Course Notes | Magercises]

Servlets are pieces of JavaTM source code that add functionality to a web server in a manner similar to the way applets add functionality to a browser. Servlets are designed to support a request/response computing model that is commonly used in web servers. In a request/response model, a client sends a request message to a server and the server responds by sending back a reply message.

From the Java Servlet Development Kit (JSDK), you use the Java Servlet API to create servlets for responding to requests from clients. These servlets can many tasks, like process HTML forms with a custom servlet or manage middle-tier processing to connect to existing data sources behind a corporate firewall. In addition, servlets can maintain services, like database sessions, between requests to manage resources better than Common Gateway Interface (CGI) technologies.

The Java Servlet API is based on several Java interfaces that are provided in standard Java extension (javax) packages.

In this course you will:

  • Learn how to use the Java Servlet API
  • Create and run a servlet with the JSDK
  • Install a servlet in Sun's Java Web ServerTM
  • Process parameters from HTML forms
  • Manage middle-tier processing

Course Notes
Magercises
Back to Preface and Reader Feedback

10





Questions?
8-Jan-99
Copyright © 1996-1998 Sun Microsystems Inc.
All Rights Reserved. Legal Terms. Privacy Policy.
Sun Logo