grails团队的新框架:micronaut

吃可爱长大的小学妹 提交于 2019-12-01 06:01:00

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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!