Micronaut Blueprint for JHipster Update



Internally known as “MHipster,” the blueprint was crafted to offer JHipster Java development platform users essential features and integrations for swift application deployment to production. JHipster itself equips developers with tools and methodologies to generate, develop, and deploy modern web applications and microservice architectures. It furnishes a ready-to-use frontend for managing domain entities, enabling developers to efficiently evolve a domain model, and simplifying the testing, monitoring, and deployment of applications to production.

Object Computing’s Micronaut framework serves as a modern Java Virtual Machine (JVM) application toolkit optimized for runtime performance. Developers leverage this framework to build applications for cloud environments, benefitting from fast start-up times, high throughput, and a minimal memory footprint. Micronaut seamlessly integrates with major cloud platforms such as Amazon Web Services (AWS), Google Cloud Platform, Microsoft’s Azure, and Oracle Cloud.

The collaboration between the Micronaut Foundation, JHipster community, and Object Computing resulted in the Micronaut Blueprint for JHipster. This release supports two application types: monoliths and microservices. Monoliths cater to standalone applications, allowing developers to define entities with validation rules and relationships. Users can package a user interface in Angular or React, configure authentication with JWT support, or utilize OAuth 2.0 (with Keycloak provided by default) for user credential management. The new application setup includes Liquibase migration scripts for database initialization, entity REST APIs for CRUD operations, unit and integration tests, and an optional Protractor test suite for applications with a UI.

Microservice applications, similar to monoliths, lack a user interface but introduce service discovery through Consul or the JHipster Registry (backed by Eureka). The blog post accompanying the release offers a detailed guide on generating a new application using the mhipster command line tool.

The JHipster Micronaut Blueprint is an open-source project released under the Apache 2.0 license. Hosted under the JHipster GitHub organization, it encourages contributions from the community.