Skip to content

Commit

Permalink
Improvements to the Jetty documentation.
Browse files Browse the repository at this point in the history
Added the custom module section.
Shortened titles to better fit the TOC.
Enlarged content from 62.5em to 80em.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed Feb 19, 2021
1 parent 5fee012 commit a495539
Show file tree
Hide file tree
Showing 23 changed files with 291 additions and 266 deletions.
2 changes: 1 addition & 1 deletion documentation/jetty-documentation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
<attributes>
<project.basedir>${project.basedir}</project.basedir>
<maven.local.repo>${settings.localRepository}</maven.local.repo>
<prog_guide>../programming-guide/index.html</prog_guide>
<JDURL>http://www.eclipse.org/jetty/javadoc/${project.version}</JDURL>
<JXURL>http://download.eclipse.org/jetty/stable-9/xref</JXURL>
<SRCDIR>${basedir}/..</SRCDIR>
<GITBROWSEURL>https://github.com/eclipse/jetty.project/tree/master</GITBROWSEURL>
<GITDOCURL>https://github.com/eclipse/jetty.project/tree/jetty-10.0.x-doc-refactor/jetty-documentation/src/main/asciidoc</GITDOCURL>
<OPGUIDE>../operations-guide/index.html</OPGUIDE>
<PROGGUIDE>../programming-guide/index.html</PROGGUIDE>
<GSTARTGUIDE>../gettingstarted-guide/index.html</GSTARTGUIDE>
<CONTRIBGUIDE>../contribution-guide/index.html</CONTRIBGUIDE>
<MVNCENTRAL>https://repo1.maven.org/maven2</MVNCENTRAL>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
:sectlinks:
:sectanchors:

:source-highlighter: coderay

// Use fonts for admonitions.
:icons: font

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
[[startup]]
== Starting Jetty

include::custom-modules.adoc[]
include::startup-unix-service.adoc[]
include::startup-windows-service.adoc[]

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,41 @@
[[og-arch]]
=== Architecture Overview

[[og-arch-concepts]]
==== Main Concepts

Jetty is an HTTP server and Servlet Container, and supports deployments of web applications.

The Jetty _server_ listens on one or more network ports using one or more __connector__s.

Clients send HTTP requests for specific URIs, such as `+https://host/store/cart+`.

The HTTP requests arrive to the connectors through the network; the Jetty server processes the requests and, based on their URIs, forwards them to the appropriate web application.

[plantuml]
----
skinparam backgroundColor transparent
skinparam monochrome true
skinparam shadowing false
skinparam roundCorner 10
scale 1.25
cloud Internet as internet
rectangle "Jetty Server" as server
rectangle "HTTP/1.1 Connector" as http
rectangle "HTTP/2 Connector" as http2
rectangle "WebApp "Store"" as store
rectangle "WebApp "Catalog"" as catalog
internet -- http
internet -- http2
http -- server
http2 -- server
server -- store
server -- catalog
----

There are three main concepts on which the Jetty standalone server is based:

* The xref:og-arch-modules[Jetty _module_ system], where Jetty modules provides Jetty features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

[[og-deploy]]
=== Customizing Web Application Deployment
=== Web Application Deployment

Most of the times you want to be able to customize the deployment of your web applications, for example by changing the `contextPath`, or by adding JNDI entries, or by configuring virtual hosts, etc.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ include::modules/chapter.adoc[]
include::deploy/chapter.adoc[]
include::protocols/chapter.adoc[]
include::keystore/chapter.adoc[]
include::xml/chapter.adoc[]
include::sessions/chapter.adoc[]
include::quickstart/chapter.adoc[]
include::annotations/chapter.adoc[]
Expand All @@ -39,3 +38,4 @@ include::jaas/chapter.adoc[]
include::jmx/chapter.adoc[]
include::logging/chapter.adoc[]
include::troubleshooting/chapter.adoc[]
include::xml/chapter.adoc[]
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//

[[og-keystore]]
=== Configuring KeyStores
=== Configuring SSL/TLS KeyStores

A KeyStore is a file on the file system that contains a private key and a public certificate, along with the certificate chain of the certificate authorities that issued the certificate.
The private key, the public certificate and the certificate chain, but more generally the items present in a KeyStore, are typically referred to as "cryptographic material".
Expand Down
Loading

0 comments on commit a495539

Please sign in to comment.