- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://micronaut.io/
- 软件文档: http://micronaut.io/documentation.html
- 官方下载: https://github.com/micronaut-projects/micronaut-core
软件介绍
Grails 框架作者的最新力作,Micronaut 是一个新一代基于 JVM 的全栈的微服务框架,用于构建模块化的、易于测试的微服务应用。
Micronaut 的灵感来自于这些年作者使用 Spring、Spring Boot 和 Grails 构建从大型应用到服务应用的经历。
Micronaut 旨在提供所有构建微服务应用必要的工具,包括:
依赖注入和控制反转 (IoC)
规范优于配置和自动配置
配置和配置共享
服务发现
HTTP 路由
HTTP 客户端和客户端的负载均衡
与此同时,Micronaut 还避免了诸如 Spring、Spring Boot 框架的下载,带来的优势是:
更快的启动时间
降低内存占用
最小化的反射使用
最小化的代理使用
易于单元测试
基于 Netty 无堵塞 HTTP 服务:
import io.micronaut.http.annotation.*;
@Controller("/hello")
public class HelloController {
@Get("/")
public String index() {
return "Hello World";
}
}客户端:
import io.micronaut.http.annotation.Get;
import io.micronaut.http.client.Client;
import io.reactivex.Single;
@Client("/hello")
public interface HelloClient {
@Get("/")
Single hello();
}
Data Structures and Algorithms with JavaScript
Michael McMillan / O'Reilly Media / 2014-2-22 / USD 28.51
If you’re using JavaScript on the server-side, you need to implement classic data structures that conventional object-oriented programs (such as C# and Java) provide. This practical book shows you how......一起来看看 《Data Structures and Algorithms with JavaScript》 这本书的介绍吧!
