ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/program/servlets.htm

57 lines
3.6 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Servlets</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h3><a name="servlets"></a>Servlets</h3>
<p>WebSphere Application Server - Express for iSeries allows you to deploy Java servlets. Servlets are Java programs that build dynamic client responses, such as Web pages. Servlets receive and respond to requests from Web clients, usually across HyperText Transfer Protocol (HTTP).</p>
<p>As long as servlets adhere to the Java Servlet API, they can be ported without modification to different operating systems or application servers. Servlets are more efficient than CGI programs because, unlike CGI programs, servlets are loaded into memory once, and each request is handled by a Java virtual machine thread, not an operating system process. Moreover, servlets are scalable, providing support for a multi-application server configuration. Servlets also allow you to cache data, access database information, and share data with other servlets, JSP files, and (in some environments) enterprise beans.</p>
<p>WebSphere Application Server - Express supports the Java Servlet API 2.3. WebSphere Application Server - Express also includes IBM extensions to the Java Servlet API.</p>
<p>See these topics for more information about developing servlets for WebSphere Application Server- Express:</p>
<blockquote>
<p><strong><a href="servlife.htm">Servlet lifecycle</a></strong>
<br>This topic describes the lifecycle of a typical servlet. </p>
<p><strong><a href="servcrt.htm">Create a servlet</a></strong>
<br>See this topic for step-by-step instructions on how to write, assemble, and test your own servlets.</p>
<p><strong><a href="servlist.htm">Application lifecycle listeners and events</a></strong>
<br>This topic provides an overview of classes and interfaces you can use to monitor session contexts and session change.</p>
<p><strong><a href="servfilt.htm">Servlet filtering</a></strong>
<br>This topic describes how to filter HTTP responses by MIME-type and how to chain a series of servlets together.</p>
<p><strong><a href="servpage.htm">Page lists</a></strong>
<br>The PageListServlet allows you to call a JSP file by name from within your servlet code. See this topic for more information.</p>
<p><strong><a href="servauto.htm">Automatic request and response encoding</a></strong>
<br>WebSphere Application Server - Express provides extensions that enable the application server to set encoding values and content type. See this topic for information about the autoRequestEncoding and autoResponseEncoding extensions.</p>
<p><strong><a href="serverr.htm">Enhanced error reporting</a></strong>
<br>You can enhance error reporting in your Web application to provide more detailed and tailored messages to the client. See this topic for more information.</p>
<p><strong><a href="servint.htm">Internal servlets</a></strong>
<br>WebSphere Application Server - Express ships with certain internal servlets that you can use in your Web modules. See this topic for a list of the servlets and their functions.</p>
<p><strong><a href="servrsrce.htm">Servlet resources</a></strong>
<br>This topic contains links to other servlet resources. If you are new to servlet programming or are looking for more information about servlets, refer to these links for details about the Java Servlet APIs. </p>
</blockquote>
</body>
</html>