Sun Java Solaris Communities My SDN Account
 
Tutorials & Code Camps

Introduction

 

Training Index



[Course Notes | Magercises]

Servlets are pieces of Java 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 do 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 Server
  • Process parameters from HTML forms
  • Manage middle-tier processing

Course Notes
Magercises
Back to Preface and Reader Feedback

Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. It is intended for information purposes only, and may not be incorporated into any contract.