Jetty Bootstrap

The Open Source Jetty starter kit library to quickly build standalone application

License

License

Categories

Categories

Jetty Container Application Servers
GroupId

GroupId

org.teknux
ArtifactId

ArtifactId

jetty-bootstrap
Last Version

Last Version

1.0.14
Release Date

Release Date

Type

Type

jar
Description

Description

Jetty Bootstrap
The Open Source Jetty starter kit library to quickly build standalone application
Source Code Management

Source Code Management

http://github.com/teknux-org/jetty-bootstrap/tree/master/jetty-bootstrap

Download jetty-bootstrap

How to add to project

<!-- https://jarcasting.com/artifacts/org.teknux/jetty-bootstrap/ -->
<dependency>
    <groupId>org.teknux</groupId>
    <artifactId>jetty-bootstrap</artifactId>
    <version>1.0.14</version>
</dependency>
// https://jarcasting.com/artifacts/org.teknux/jetty-bootstrap/
implementation 'org.teknux:jetty-bootstrap:1.0.14'
// https://jarcasting.com/artifacts/org.teknux/jetty-bootstrap/
implementation ("org.teknux:jetty-bootstrap:1.0.14")
'org.teknux:jetty-bootstrap:jar:1.0.14'
<dependency org="org.teknux" name="jetty-bootstrap" rev="1.0.14">
  <artifact name="jetty-bootstrap" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.teknux', module='jetty-bootstrap', version='1.0.14')
)
libraryDependencies += "org.teknux" % "jetty-bootstrap" % "1.0.14"
[org.teknux/jetty-bootstrap "1.0.14"]

Dependencies

compile (6)

Group / Artifact Type Version
org.eclipse.jetty : jetty-server jar 9.4.18.v20190429
org.eclipse.jetty : jetty-webapp jar 9.4.18.v20190429
org.eclipse.jetty : jetty-servlet jar 9.4.18.v20190429
org.slf4j : slf4j-api jar 1.7.5
commons-io : commons-io jar 2.4
org.bouncycastle : bcpkix-jdk15on jar 1.50

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
org.apache.httpcomponents : httpclient jar 4.3.1

Project Modules

There are no modules declared in this project.

Starter Kit for building standalone application embedding Jetty Application Server

http://jetty-bootstrap.io

Actions Status

Actions Status

Description

Jetty-Bootstrap library make it easy to embed Jetty into your maven project and package a standalone app. Provides a fluent API to expose web application(s) and service(s), configure the server settings and package the whole application with a low footprint.

  • Read the documentation for usage details.
  • Browse sample projects source using this lib here.

Requirements

  • Java 8
  • Maven

Sample

In case you have your war file on the file system (e.g. /tmp/webapp.war), it is as simple as this:

JettyBootstrap bootstrap = new JettyBootstrap();
bootstrap.addWarApp("/tmp/webapp.war", "/contextName");
bootstrap.startServer();

Maven dependency to include on your project

<dependency>
	<groupId>org.teknux</groupId>
	<artifactId>jetty-bootstrap</artifactId>
	<version>x.x.x</version>
</dependency>

Sponsor

  • Supported by JetBrains
  • Developed with IntelliJ IDEA

org.teknux

Teknux.org

Versions

Version
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0