您的位置:首页 > 其它

jetty官方文档翻译第一章

2016-06-13 23:24 232 查看
Chapter 1. Introducing Jetty

What is Jetty?

Jetty is an open-source project providing an HTTP server, HTTP client, and javax.servlet container.

This guide is in two parts.

The first part emphasizes beginning to use Jetty. It provides information about downloading Jetty, changing things like the port Jetty runs on, adjusting logging levels, and configuring many of the most common servlet container features such as JNDI, JMX, and session management.

The second part describes advanced uses of Jetty, providing in depth coverage of specific features like our highly scalable async client, proxy servlet configuration, the Jetty Maven plugin, and using Jetty as an embedded server. The advanced section includes tutorials, howtos, videos, and reference materials.

Feedback is always welcome! Additionally, if you are interested in how to contribute to the open source project there is a section on that as well!

第一章,介绍jetty

什么是jetty?

jetty是一个开源的项目,提供了一个http服务,javax.servlet容器。

这个向导分为两部分。

第一部分着重为什么开始使用jetty。他提供了关于jetty下载的信息,改变了一些事情,比如jetty运行在端口,调整了日志的级别,提供了很多比较流行的servlet 容器的特性,比如JNDI,JMX,和会话管理。

第二部分主要描述了如何使用jetty的高级特性,深度的介绍了他的特性,比如我们高可伸缩的一部客户端,代理servlet配置,jetty maven的插件,和使用jetty作为一个嵌入式的服务。这个高级的部分包括了教程,用户手册,视频和参考资料。

我们永远欢迎反馈,另外,如果你对如何为这个开源的项目做出贡献感兴趣,这里有一部分是专门介绍这个的。

What Version Do I Use?

Jetty 9 is the most recent version of Jetty and has a great many improvements over previous versions. One improvement is this documentation which focuses on Jetty 9. While many people continue to use older versions of Jetty, we generally recommend using Jetty 9 as it represents the version of Jetty that we will actively maintain and improve over the next few years.

Table 1.1. Jetty Versions



图1-1

我们使用哪个版本?

jetty9是最新的版本,这一版相对于原来的版本有了较大的改进,比如文档就更加集中和聚焦。虽然还有很多人使用旧版本的jetty,我们现在建议使用jetty9,我们会在未来几年积极的维护和改善jetty。

Jetty and Java EE Web Profile

Jetty implements aspects of the Java EE specification, primarily the Servlet Specification. Recent releases of the Java EE platform have introduced a Web Profile, recognizing that many developers need only a subset of the many technologies under the Java EE umbrella.

While Jetty itself does not ship all of the Web Profile technologies, Jetty architecture is such that you can plug in third party implementations to produce a container customized to your exact needs.

Java EE 7 Web Profile

In the forthcoming Java EE-7 specification, the Web Profile reflects updates in its component specifications and adds some new ones:





Jetty EE 6 Web Profile

Here is the matrix of JSRs for Java EE 6 Web Profile, and how they relate to Jetty:

Table 1.3. Java EE 6 Web Profile





jetty和javaEE web 配置文件

jetty实现了很多javaEE的规范,比如比较主要的规范servlet规范,最近发布的JavaEE平台介绍了web配置文件。必须承认很多开发人员仅仅需要JavaEE保护伞下的许多技术的一个子集而已。

然而jetty并不需要所有的web profile上的技术,jetty的架构是你可以随意引入第三方的技术实现来引入你自定义的需求。

Java EE 7 Web Profile

在即将到来的JAVAEE7规范,这个web Profile反应了他一些规范的更新和新添加了一些内容。

Jetty EE 6 Web Profile

这里有一个Java EE 6 Web Profile的 JSRs的矩阵,和如何关联到jetty。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  jetty