Servlets





Servlets

Now that we've examined some of the architectural issues surrounding the use of server-side programming and J2EE, we can look in-depth at the first of the APIs that make up the programming model. In this chapter, we will introduce you to the concept of a servlet and discuss what servlet programming entails. We will discuss the following:

  • HyperText Transfer Protocol (HTTP) basics

  • Servlet concepts

  • Servlet life cycle

  • Example servlet

  • web.xml deployment descriptor file

  • Filters

  • Servlet API

  • Arguments for using servlets

This chapter, which fundamental concepts about the servlet API, will focus entirely on the servlet container as shown in Figure. In the next chapter, we will examine how to take the examples and principles that we will review in this chapter and apply them within the WebSphere Studio environment.

1. Where servlet technology fits in road map.

graphics/06fig01.gif


     Python   SQL   Java   php   Perl 
     game development   web development   internet   *nix   graphics   hardware 
     telecommunications   C++ 
     Flash   Active Directory   Windows