BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

JHipster 3.0 Released with Microservices Support

| by Matt Raible on Mar 25, 2016. Estimated reading time: 1 minute |

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

Adoption Stage
Style

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.

Tell us what you think

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

Email me replies to any of my messages in this thread

Microservices support is really great! by John Matthews

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: bit.ly/1qyGXyF

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date with curated articles from top InfoQ editors

"You dont know what you dont know" change that by browsing what our editors pick for you.

BT