Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Jetty/Howto/Jars"

< Jetty‎ | Howto
(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:
The core of Jetty has no external dependencies other than the servlet-api, but it does have several optional 3rd party jars.  
+
{{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 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.  The aggregate jars may also used to reduce the number of jars required. During development, the [[Jetty/Howto/Use_Jetty_with_Maven|maven]] build tool is ideal for accessing jetty jars and their dependencies.
+
The [[Jetty/Reference/Dependencies|Jetty Dependencies]] reference explains the jetty jar structure.
  
The [[Jetty/Reference/Dependencies|Jetty Dependencies]] reference explains the jars.
+
|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.

Back to the top