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"
m |
|||
Line 1: | Line 1: | ||
{{Jetty Howto | {{Jetty Howto | ||
|introduction= | |introduction= | ||
− | Jetty is decomposed into many | + | 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/Reference/Dependencies|Jetty Dependencies]] reference explains the | + | The [[Jetty/Reference/Dependencies|Jetty Dependencies]] reference explains the Jetty Jar structure. |
|steps= | |steps= | ||
=== Use Start.jar === | === Use Start.jar === | ||
− | + | You can use the he individual Jetty Jars directly by constructing your own classpath, or you can use the [[Jetty/Feature/Start.jar|start.jar]] utility to build a classpath. | |
=== Use Maven === | === Use Maven === | ||
− | During development, the [[Jetty/Howto/Use_Jetty_with_Maven|maven]] build tool is ideal for accessing | + | During development, the [[Jetty/Howto/Use_Jetty_with_Maven|maven]] build tool is ideal for accessing Jetty Jars and their dependencies. |
=== Aggregate Jars === | === Aggregate Jars === | ||
− | + | You can also use the aggregate Jars to reduce the number of Jars required. | |
}} | }} |
Revision as of 13:25, 25 January 2012
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
You can use the he individual Jetty Jars directly by constructing your own classpath, or you can use the start.jar utility to build a classpath.
Use Maven
During development, the maven build tool is ideal for accessing Jetty Jars and their dependencies.
Aggregate Jars
You can also use the aggregate Jars to reduce the number of Jars required.