grails团队的新框架:micronaut

2018/05/24 10:05
阅读数 1.7K

http://micronaut.io/

体积更小,内存占用更小,性能更优?同时支持java,groovy,kotlin三种编程语言。grails框架我用过,做过若干个项目,确实比较方便,脚手架快速生成页面(当然结合ieda来使用),orm自动化管理,多种组合模式,代码比较简洁,写一个对象的增删改查,大概10几钟搞定(有在用的前端框架的前提下,默认的前端一般不适合真实业务使用)。

Micronaut

Micronaut is a modern, JVM-based, full stack microservices framework designed for building modular, easily testable microservice applications.

Micronaut is developed by the creators of the Grails framework and takes inspiration from lessons learnt over the years building real-world applications from monoliths to microservices using Spring, Spring Boot and Grails.

Micronaut aims to provide all the tools necessary to build microservice applications including:

  • Dependency Injection and Inversion of Control (IoC)
  • Sensible Defaults and Auto-Configuration
  • Configuration and Configuration Sharing
  • Service Discovery
  • HTTP Routing
  • HTTP Client with Client-Side Load Balancing

At the same time Micronaut aims to avoid the downsides of frameworks like Spring, Spring Boot and Grails by providing:

  • Fast startup time
  • Reduced memory footprint
  • Minimal use of reflection
  • Minimal use of proxies
  • Easy Unit Testing

For more information on using Micronaut see the documentation at micronaut.io

展开阅读全文
加载中
点击加入讨论🔥(2) 发布并加入讨论🔥
打赏
2 评论
2 收藏
0
分享
返回顶部
顶部