Skip to content
forked from nutzam/nutzboot

NutzBoot,简称NB,是可靠的企业级微服务框架,提供自动配置,嵌入式web服务,分布式会话,hystrix,RPC等一篮子解决方案

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE
Apache-2.0
License.txt
Notifications You must be signed in to change notification settings

albinhdk/nutzboot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

NutzBoot 微服务

NutzBoot,简称NB,是可靠的企业级微服务框架,提供自动配置,嵌入式web服务,分布式会话,hystrix, RPC等一篮子解决方案

Build Status GitHub release License Skywalking Tracing

功能介绍

  • 快速创建Nutz应用,提供初始化工具Maker
  • 嵌入式web服务(jetty/tomcat/undertow),直接打包为runnable jar
  • 基于starter的自动配置体系,只需要添加maven依赖,即可自动发现并加载
  • 能满足80%以上常见需求的默认配置,无需过多的自定义
  • 以开放的心态与国内开源团体合作,优先集成国产项目
  • 活跃的社区及稳健的发布周期,推进项目一直前进

快速预览一下NB的项目吧

pom.xml

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-parent</artifactId>
            <version>${nutzboot.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
<dependencies>
    <dependency>
        <groupId>org.nutz</groupId>
        <artifactId>nutzboot-starter</artifactId>
    </dependency>
    <dependency>
        <groupId>org.nutz</groupId>
        <artifactId>nutzboot-starter-nutz-web</artifactId>
    </dependency>
    <dependency>
        <groupId>org.nutz</groupId>
        <artifactId>nutzboot-starter-jetty</artifactId>
    </dependency>
</dependencies>

src/main/java/io/nutz/demo/simple/MainLauncher.java

package io.nutz.demo.simple;

import org.nutz.boot.NbApp;
import org.nutz.ioc.loader.annotation.*;
import org.nutz.mvc.annotation.*;

@IocBean
public class MainLauncher {

    @Ok("raw")
    @At("/time/now")
    public long now() {
        return System.currentTimeMillis();
    }

    public static void main(String[] args) throws Exception {
        new NbApp().run();
    }
}

asciicast

请访问 https://get.nutz.io 获取属于您的基础代码

Demo

Contributors

采用NutzBoot的公司

请访问链接 采用公司

文档

开发进度

期待您的加入

第三方starter或项目

期待您的到来,报个issue告知一下吧 ^_^

授权协议

与Nutz一样, NutzBoot遵循Apache协议,完全开源,文档齐全,永远免费(商用也是)

About

NutzBoot,简称NB,是可靠的企业级微服务框架,提供自动配置,嵌入式web服务,分布式会话,hystrix,RPC等一篮子解决方案

Resources

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE
Apache-2.0
License.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 50.1%
  • Java 45.7%
  • HTML 4.1%
  • Python 0.1%