jetty官方文档翻译第二章

Chapter 2. Using Jetty Introduction

Table of Contents

Downloading Jetty
Running Jetty
Deploying Web Applications
Finding Jetty in Maven
You can use Jetty in many different ways, ranging from embedding Jetty in applications, launching it from different build systems, from different JVM-based languages, or as a standalone distribution. This guide covers the latter, a standalone distribution suitable for deploying web applications.

Downloading Jetty

Downloading the Jetty Distribution
Distribution Content
Downloading the Jetty Distribution

The standalone Jetty distribution is available for download from the Eclipse Foundation:

Jetty http://download.eclipse.org/jetty

It is available in both zip and gzip formats; download the one most appropriate for your system. Notice that there are a number of other files with extensions of .sha or .md5 which are checksum files. When you download and unpack the binary, it is extracted into a directory called jetty-distribution-VERSION. Put this directory in a convenient location. The rest of the instructions in this documentation refer to this location as either JETTY_HOME or as $(jetty.home).

Distribution Content

A quick rundown of the distribution’s contents follows. The top-level directory contains:
Table 2.1. Contents
这里写图片描述
这里写图片描述

第二章,jetty使用介绍
内容表格:
下载jetty
运行jetty
部署web应用
在maven中找到jetty

你可以通过许多不同的方式来使用jetty,从应用中嵌入jetty,在不同的系统启动它,从基于不同语言的虚拟机,也可以独立的启动。本指南介绍了独立部署一个应用的情况。

下载jetty套件
套件内容
下载jetty套件

独立的jetty套件是可以在Eclipse基金会下载的。
jetty:http://download.eclipse.org/jetty

提供了zip和gzip两种格式的套件,下载一种最适合你系统的格式。(zip是windows下的压缩格式,gzip是linux下的。)我们注意到还有其他格式的文件,.sha和.md5,这些是校验文件。当你下载并且解压了这个二进制文件后,内容文件会被提取到 jetty-distribution-VERSION文件夹下,将这个目录放在你想放的位置,剩下的文件叫做jetty_home。

套件的内容
快速的分配出来的套件的内容如下:顶层的目录包含如下:

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值