I’m studying Jetty recently, and I didn’t find the appropriate information. I can only read the official documents, but only in English. Thinking about translating and learning by myself, it is better to learn The process can also be shown to those who need it on the Internet. After all, the English level is limited, and it was translated by Youdao. However, a lot of my own understanding and operation process have been added. The preliminary translation of the document is welcome. Please correct me. Of course, you can also use my translation as a guide. If you are interested in the key, you can go to the original English document.
The official website of Jetty is: http://www.eclipse.org/jetty/
The download address of Jetty is: http://www.eclipse.org/jetty/ download.html
The document address of Jetty is: http://www.eclipse.org/jetty/documentation/
The address of this blog is: http://www.cnblogs .com/yiwangzhibujian
The version I translated this time is 9.3.11.v20160721. This version is the latest stable version and requires jdk1.8 and above. In the process of reading the documentation, I found that the official Jetty documentation is not suitable for novices. Many knowledge points are repeated, and there are few examples of introductory examples. Therefore, I will also write a few introductory tutorials for Jetty during the translation process, most of which are also for reference. From the official document.
The directory of Jetty documents is as follows:
I. Getting Started with Jetty
1. Jetty Introduction< /p>
What is Jetty
Which version should I use
Jetty and Java EE specifications
Get Jetty in maven
2. Use Jetty
Download Jetty
Run Jetty
Deploy web applications
3. Jetty configuration information introduction
How to configure
What can be configured
< p>II. Jetty Configuration Guide
4. Deploy to Jetty
Analyze a web application
web application automatic deployment
configuration application special deployment
web Application deployment process
Configure static resource deployment
hot deployment
< strong> Deployment Architecture
Quickly start a web application
Overlay a deployed web application
5. Configure Conetxts
Set Conetxts path
set host address
set temporary file path
serves a specific Port or connection
Create common error pages
Set the maximum data size
< p> 6. Configure Jetty connection
Configuration connection overview
Configure SSL/TLS< /p>
set port 80 to receive connections without port settings
7. Security settings
Use $\{jetty.home} and $\{jetty.base} to set up
Authentication
restricted form Content
Use file aliases and symbolic links
Password encryption
JAAS support
Spnego support
8. The configuration supports JSP
< strong> Configure JSP
III. Jetty administrator guidance
9. Start using Jetty
Startup overview
use start.jar
manage Jetty Base and Jetty Home
XML startup settings
Management service classpath
Manage startup module
Use jetty.sh to start under Unix
is started by Windows service
10.session management
set session characteristics
Use persistent session
Through the database cluster session
Through the MongoDB cluster session
through the Infinispan cluster session
through the Google Cloud Storage cluster session
11. Jetty log record
configure Jetty log
Jetty default log StdErrLog record
Set Jetty request logging
Example: Log4j logging
Example: Use slf4j to use java. util.loggin record log
Example: Use java.util.loggin to record logs through JavaUtilLog
Example: Record through logback Log
Example: Using slf4j with a logging framework
Example: Using logback to record logs in a centralized manner p>
Jetty storage tool
12. Configure JNDI
Quick Setup
Use Jetty’s JNDI for work
Configure JNDI
Embedded Jetty uses JNDI
Data source example
13. Comments
Quick Settings
Use annotations to work
Embedded Jetty use annotations
14. Java Management Extension (JMX)
Use JMX in Jetty
Jetty’s JMX annotation
manage Jetty through JConsole and JMC
15.ALPN
introduce ALPN
16.HTTP/2
Introduction to HTTP/2< /p>
Make HTTP/2 effective
Configure HTTP/2
Configure HTTP/2 Long connection
configure Jetty to use haproxy
17. FastCGI support
< strong> FastCGI Introduction
Configure Jetty to use FastCGI
18. Provide servlet, filter, handler support< /p>
mur Recognize Servlet
Proxy Servlet
balanced Servlet
CGI Servlet
Filter features
Filter rejected
Gzip processing
Cross filter
Resource processor
Debug processing
Statistic Processor
IP License Processor
The context processor has been moved
Terminate the service processor
default processor
< p> error handler
rewrite handler
19. Jetty runner< /p>
Do not install and use Jetty
20. Optimize Jetty
Garbage Collection
High load
load limit
IV.Jetty Development Guide
strong>
21. Embedded
Jetty embedded HelloWorld
Jetty embedded Style
Jetty embedded example
22.HTTP client
Introduction
API usage
cookies support
Authentication support
Proxy support
configurable transmission
23.Maven and Jetty
use Maven
Configure Jetty’s Maven plug-in
Scan files through Jetty’s maven plug-in
Jetty Jspc’s maven Plug-in
24. Processor
Processor for writing scenes
< strong> 25. Debugging
Debugging options
Remote debugging
Debug through IntelliJ
Debug through eclipse
26.websocket introduction
< p> What does Jetty support
websocket API
WebSocket authorization
27. Jetty’s websocket API
Jetty’s Websocket API usage
Websocket event
Websocket session
Send a message to a remote port
Use Websocket annotation
Use Websocket listener
Use Websocket adapter
Jetty Websocket server API
Jetty Websocket client API
28. Continuous connection
Introduction to
Use continuous connection
Universal continuous connection mode
29. Frame
Spring Framework Settings
OSGI
< p> Weld
Metro
30.Ant and Jetty
Ant Jetty Plugin
V.Jetty Reference Guide
31. Platform, Stack, Distributed
strong>
More options……
Jelastic
CloudFoundry strong>
Amazon Elastic Beanstalk
Fedora
Ubuntu
32. Architecture
Jetty architecture
Jettye class Loading
Create an agreement
33. Contribute to Jetty
Community
Document
Version control and creation
coding rules
issues, features and bugs
Contribute Patches
< strong> Jetty final version
Jetty beta
34. Reference section
Jetty xml syntax
Jetty xml usage
jetty.xml
>
jetty-web.xml
jetty-env.xml
webdefault.xml strong>
override-web.xml
35. Problem failure
zip Problem
Windows file locking problem
Memory leak problem
Slow deployment issue
Jett ySecurity report
Translated chapters: h3>
For the translation of the first part of Jetty, please refer to: http://www.cnblogs.com/yiwangzhibujian/p/5832597.html
Jetty part four (4:21-22) see: http://www.cnblogs.com/yiwangzhibujian/p/5845623.html
The fourth part of Jetty (4:23), please see: http://www.cnblogs.com/yiwangzhibujian/p/ 5856857.html
Jetty Part IV (4:24-27) For details, please see: http://www.cnblogs.com/yiwangzhibujian/p/5858544.html
p>
Other chapters to be translated…
Original address: http://www.cnblogs.com/yiwangzhibujian/p/5832294.html
Translated chapters:
For the translation of the first part of Jetty, please refer to: http://www.cnblogs.com/yiwangzhibujian/p/5832597.html
The fourth part of Jetty (4:21-22), please refer to: http://www.cnblogs.com/yiwangzhibujian/p/5845623.ht ml
Jetty Part IV (4:23) For details, please see: http://www.cnblogs.com/yiwangzhibujian/p/5856857.html
Jetty Part IV (4 :24-27) For details, please see: http://www.cnblogs.com/yiwangzhibujian/p/5858544.html
Other chapters to be translated…