Skip to content

igrigoryev/jetty-bootstrap

 
 

Repository files navigation

Starter Kit for building standalone application embedding Jetty Application Server

http://jetty-bootstrap.io

Build 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 7
  • 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

About

Jetty embedded bootstrap library. Make it easy to embed Jetty into your maven project and package a standalone app.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%