Servlets are the Java platform technology of choice for extending and enhancing Web servers. Servlets provide a component-based, platform-independent method for building Web-based applications, without the performance limitations of CGI programs. And unlike proprietary server extension mechanisms (such as the Netscape Server API or Apache modules), servlets are server- and platform-independent. This leaves you free to select a “best of breed” strategy for your servers, platforms, and tools.
Servlets have access to the entire family of Java APIs, including the JDBC API to access enterprise databases. Servlets can also access a library of HTTP-specific calls and receive all the benefits of the mature Java language, including portability, performance, reusability, and crash protection.
Today servlets are a popular choice for building interactive Web applications. Third-party servlet containers are available for Apache Web Server, Microsoft IIS, and others. Servlet containers are usually a component of Web and application servers, such as BEA WebLogic Application Server, IBM WebSphere, Sun Java System Web Server, Sun Java System Application Server, and others.
You might want to check out the latest information on JavaServer Pages (JSP) technology. JSP technology is an extension of the servlet technology created to support authoring of HTML and XML pages. It makes it easier to combine fixed or static template data with dynamic content. Even if you’re comfortable writing servlets, there are several compelling reasons to investigate JSP technology as a complement to your existing work.
from: Java Servlet Technology Overview

Servlet是一种用于增强和扩展Web服务器的Java平台技术,提供组件化的、平台独立的方法来构建Web应用,无需受到CGI程序的性能限制。Servlets能够访问整个Java API家族,包括JDBC API用于访问企业级数据库,同时也能访问HTTP特定调用并获得成熟Java语言的所有优势,如可移植性、性能、可复用性和崩溃保护。
467

被折叠的 条评论
为什么被折叠?



