Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Jetty/Howto/Jars"
(New page: The core of Jetty has no external dependencies other than the servlet-api, but it does have several optional 3rd party jars. The individual jetty jars may be used directly by construct...) |
|||
Line 1: | Line 1: | ||
− | + | {{Jetty Howto | |
+ | |introduction= | ||
+ | Jetty is decomposed into many jars providing utilities, HTTP, server, client, servlets and many optional features. It can be difficult to track which jars are required and their dependencies. | ||
− | The | + | The [[Jetty/Reference/Dependencies|Jetty Dependencies]] reference explains the jetty jar structure. |
− | The [[Jetty/ | + | |steps= |
+ | === Use Start.jar === | ||
+ | |||
+ | The individual jetty jars may be used directly by constructing your own classpath, or the [[Jetty/Feature/Start.jar|start.jar]] utility can be used to build a classpath. | ||
+ | |||
+ | === Use Maven === | ||
+ | During development, the [[Jetty/Howto/Use_Jetty_with_Maven|maven]] build tool is ideal for accessing jetty jars and their dependencies. | ||
+ | |||
+ | === Aggregate Jars === | ||
+ | The aggregate jars may also used to reduce the number of jars required. | ||
+ | |||
+ | }} |
Revision as of 05:31, 18 September 2009
Introduction
Jetty is decomposed into many jars providing utilities, HTTP, server, client, servlets and many optional features. It can be difficult to track which jars are required and their dependencies.
The Jetty Dependencies reference explains the jetty jar structure.
Steps
Use Start.jar
The individual jetty jars may be used directly by constructing your own classpath, or the start.jar utility can be used to build a classpath.
Use Maven
During development, the maven build tool is ideal for accessing jetty jars and their dependencies.
Aggregate Jars
The aggregate jars may also used to reduce the number of jars required.