grails团队的新框架:micronaut

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

猜你喜欢

转载自my.oschina.net/swingcoder/blog/1817796