Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News JHipster 3.0 Released with Microservices Support

JHipster 3.0 Released with Microservices Support


The JHipster team has released JHipster 3.0 with new support for microservices. JHipster is a Yeoman generator that creates applications with an AngularJS UI and a Spring Boot API. With this release, users now have the option to generate more than just a traditional monolithic application; now they can generate a complete microservices architecture - with separate applications for routing, registering services, monitoring and microservices. It also adds the ability to generate Docker and Docker Compose configurations so you can start all of these applications with a single command. You can also scale up services with a single command.

The project’s microservices architecture documentation explains how the new microservices support works.

  • You first generate a gateway that handles web traffic and serves up an Angular UI.

  • The JHipster Registry is a standalone application that you install, rather than generate. All microservices register with this application and get their configuration from it. This application is based on Spring Cloud Eureka and Spring Cloud Config Server.

  • Microservices are JHipster-generated stateless applications that handle REST requests.

  • To monitor this architecture you can use JHipster Console, which is based on the ELK Stack (Elasticsearch, Logstash, Kibana).

In the diagram below, green represents JHipster-generated components while blue are the registry and console applications.

JHipster Microservices Architecture

Kenneth Hegeland of IpponUSA wrote a blog post explaining this architecture in more detail.

In addition to its microservices feature, JHipster 3.0 adds some notable enhancements:

  • JSON Web Tokens are now supported for security.

  • Gulp.js is the only supported JavaScript build tool; Grunt has been removed.

  • AngularJS code has been refactored to follow John Papa’s Style Guide.

  • JDL is now a natively supported with the import-jdl sub-generator. You can use JDL Studio to visually create your domain model and export it to JDL.

The previous major version, JHipster 2.0 was released in January 2015, as reported on Infoq. InfoQ also provides The JHipster Mini-book as a free download.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Microservices support is really great!

    by John Matthews,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Microservices are currently getting a lot of attention. With advantages like faster time to market, this support was very much required. Talking about JHipster, I also remember one of my colleagues used it to build new app with technology like Spring Boot exhibiting REST APIs with an AngularJS front end. Just in case if you want to read more about how we used JHipster:

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p