Jetty Bootstrap : Standalone Server

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-standalone
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

Jetty Bootstrap : Standalone Server
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-standalone

Download jetty-bootstrap-standalone

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
org.teknux : jetty-bootstrap jar 1.0.1
org.teknux : jetty-bootstrap-logs jar 1.0.1
org.teknux : jetty-bootstrap-jsp jar 1.0.1
org.teknux : jetty-bootstrap-annotations jar 1.0.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.1