BT
x Share your thoughts on trends and content!

JHipster 3.0 Released with Microservices Support

by Matt Raible on Mar 25, 2016 |

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

Relevance
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
General Feedback
Bugs
Advertising
Editorial
Marketing
InfoQ.com and all content copyright © 2006-2016 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT

We notice you're using an ad blocker

We understand why you use ad blockers. However to keep InfoQ free we need your support. InfoQ will not provide your data to third parties without individual opt-in consent. We only work with advertisers relevant to our readers. Please consider whitelisting us.