bootique: a minimally opinionated app launcher and integration framework

Bootique is a simple DI-based framework for launching command-line Java applications of any kind. Be it webservices, webapps, jobs, etc.

Лицензия

Лицензия

Категории

Категории

Bootique Взаимодействие с пользователем Веб-фреймворки
Группа

Группа

com.nhl.bootique
Идентификатор

Идентификатор

bootique
Последняя версия

Последняя версия

0.18
Дата

Дата

Тип

Тип

jar
Описание

Описание

bootique: a minimally opinionated app launcher and integration framework
Bootique is a simple DI-based framework for launching command-line Java applications of any kind. Be it webservices, webapps, jobs, etc.
Организация-разработчик

Организация-разработчик

National Hockey League

Скачать bootique

Как подключить последнюю версию

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

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
com.google.inject : guice jar 4.0
com.google.inject.extensions : guice-multibindings jar 4.0
com.fasterxml.jackson.core : jackson-databind jar 2.6.4
com.fasterxml.jackson.core : jackson-core jar 2.6.4
com.fasterxml.jackson.dataformat : jackson-dataformat-yaml jar 2.6.4
net.sf.jopt-simple : jopt-simple jar 4.9

test (5)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.mockito : mockito-core jar 2.0.31-beta
org.eclipse.jetty : jetty-server jar 9.3.6.v20151106
org.eclipse.jetty : jetty-servlet jar 9.3.6.v20151106
org.slf4j : slf4j-simple jar 1.7.13

Модули Проекта

Данный проект не имеет модулей.

Build Status Maven Central

Bootique is a minimally opinionated java launcher and integration technology. It is intended for building container-less runnable Java applications. With Bootique you can create REST services, webapps, jobs, DB migration tasks, etc. and run them as if they were simple commands. No JavaEE container required! Among other things Bootique is an ideal platform for Java microservices, as it allows you to create a fully-functional app with minimal setup.

Each Bootique app is a collection of modules interacting with each other via dependency injection. This GitHub project provides Bootique core. Bootique team also develops a number of important modules. A full list is available here.

Quick Links

Support

You have two options:

  • Open an issue on GitHub with a label of "help wanted" or "question" (or "bug" if you think you found a bug).
  • Post a question on the Bootique forum.

TL;DR

For the impatient, here is how to get started with Bootique:

  • Declare the official module collection:
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>io.bootique.bom</groupId>
            <artifactId>bootique-bom</artifactId>
            <version>2.0.M1</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency> 
    </dependencies>
</dependencyManagement>
  • Include the modules that you need:
<dependencies>
    <dependency>
        <groupId>io.bootique.jersey</groupId>
        <artifactId>bootique-jersey</artifactId>
    </dependency>
    <dependency>
        <groupId>io.bootique.logback</groupId>
        <artifactId>bootique-logback</artifactId>
    </dependency>
</dependencies>
  • Write your app:
package com.foo;

import io.bootique.Bootique;

public class Application {
    public static void main(String[] args) {
        Bootique
            .app(args)
            .autoLoadModules()
            .exec()
            .exit();
    }
}

It has main() method, so you can run it!

For a more detailed tutorial proceed to this link.

Upgrading

See the "maven-central" badge above for the current production version of bootique-bom. When upgrading, don't forget to check upgrade notes specific to your version.

com.nhl.bootique

Версии библиотеки

Версия
0.18
0.17
0.16
0.15
0.14
0.13
0.12
0.11
0.10