JHipster Can Give an Edge to Your Full-Stack Java Projects

JHipster Can Give an Edge to Your Full-Stack Java Projects

For your full-stack Java projects, there is no better option than JHipster.

JHipster is a long-lived and ambitious hybrid Java and JavaScript project that is dedicated to easing the development of full-stack Java applications using modern reactive front ends. The JHipster development team has consistently released new versions to keep up with industry changes. JHipster, or "Java Hipster," is a handy application generator that will create for you a Spring Boot (that's the Java part) and AngularJS (that's the hipster part) application.

In a very short amount of time, JHipster has become very popular on Github, and it has been featured in online magazines – like InfoQ, Infoworld, and SD Times. JHipster focuses on generating a high-quality application with a Java back-end using an extensive set of Spring technologies; Spring Boot, Spring Security, Spring Data, Spring MVC (providing a framework for WebSockets, REST, and MVC), etc. an Angular.js front-end and a suite of pre-configured development tools like Yeoman, Maven, Gradle, Grunt, Gulp.js, and Bower. JHipster creates a fully configured Spring Boot application with a set of pre-defined screens for user management, monitoring, and logging. The generated Spring Boot application is specifically tailored to make working with Angular.js a smoother experience.

Contribution to Java

Out of the box, JHipster supports React, Vue, and Angular for the front end. It supports other frameworks, including Svelte, via plugins known as blueprints. On the back end, Spring Boot does the heavy lifting. In this regard, JHipster is similar to the Hilla framework, but with a more ambitious goal of supporting a wide variety of front-end stacks. At heart, JHipster is an advanced build tool that unifies the Java and JavaScript build toolchains and layers various administrative capabilities on top. In addition to full-stack applications, JHipster supports building microservices components and has scaffolding for both JPA-based relational datastores and NoSQL datastores such as MongoDB and Cassandra. It also has features for logging and analytics.

JHipster's toolset includes a command-line and a domain-specific language (DSL) with a visual data modeler and a web-based constructor (think Spring Initializr on steroids). We'll use the command line to get started. JHipster 7.0, released on March 23, updated the data model editor JDL Studio to version 2, added Snyk security vulnerability scanning, and introduced the JHipster Control Center to manage microservices. The release also updated dependencies and defaults and was followed by version 7.0.1 on April 2. Despite being the first major release in nearly two years, JHipster 7.0 has only a handful of other new features. End-to-end JavaScript testing has been switched from Protractor to Cypress, Vue.js is moved from a plugin into the JHipster core, and Angular uses Angular CLI instead of Webpack as the build system. JHipster 7.0 now requires Java 8 to 15. Dependency updates include Spring Boot 2.4, Angular 11, Typescript 4, Webpack 5 for React and Vue, and Docker Compose version 3. The code formatted Prettier for Java, Java 11, and PostgreSQL are new defaults.

JHipster jump-starts new microservice and monolith applications by generating complete projects with CRUD screens, user management, administration, tests, Continuous Integration, and deployment. Initially only for Spring Boot, JHipster now also generates Micronaut, Quarkus, NodeJS, and .NET projects. Julien Dubois, Java developer advocacy manager at Microsoft, started the project more than six years ago and still leads it today. Unlike other application generators, such as Grails, JHipster doesn't put layers of library-specific code into the generated output. Instead, it creates best-practice, production-level Java and Javascript code with just a tiny server-side support library. So developers can create an application with JHipster and then immediately "take over" – work on the code as if they wrote it all themselves, and never need to involve JHipster in the application again.

JHipster includes many different technologies for both monolith and microservice architectures. Back-end frameworks are Spring Boot, Quarkus, Micronaut, NodeJS, and NET. Except for Spring Boot, plugins – which JHipster calls "blueprints" – provide these frameworks. JHipster can generate front ends with React, Angular, and Vue.

More Trending Stories 

Related Stories

No stories found.
logo
Analytics Insight
www.analyticsinsight.net