Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Full Stack Development with JHipster
Full Stack Development with JHipster

Full Stack Development with JHipster: Build modern web applications and microservices with Spring and Angular

Arrow left icon
Profile Icon Sasidharan Profile Icon Nellaiyapen
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5 (6 Ratings)
Paperback Mar 2018 380 pages 1st Edition
eBook
€20.98 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Sasidharan Profile Icon Nellaiyapen
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5 (6 Ratings)
Paperback Mar 2018 380 pages 1st Edition
eBook
€20.98 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€20.98 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. €18.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Full Stack Development with JHipster

Getting Started with JHipster

JHipster is a development platform that helps you go from zero to hero! JHipster can help you to create beautiful web applications and complex microservice architectures in a jiffy. JHipster also offers various tools to develop the application further using business entities, and deploy it to various cloud services and platforms. At its core, JHipster is a Yeoman generator that creates Spring Boot and Angular/React based applications. It can create monolithic architecture as well as microservice architecture with every feature working out-of-the-box.

In this chapter, we will cover the following topics:

  • Why use JHipster and how it helps compared to traditional development approaches
  • What is the goal of JHipster?
  • The various server-side and client-side technology options available in JHipster
  • Preparation of a development environment
  • Installation...

Why JHipster?

If you are wondering why you should be using JHipster, then just imagine the following scenario. You are tasked to build a web application, let us say a blog with an Angular frontend and a Java backend, with features for users to create blog posts and be able to display blog posts based on user permissions. You are also asked to build administrative modules such as user management, monitoring, and so on. Finally, you have to test and deploy the application to a cloud service.

If you are approaching this challenge the traditional way you will most probably be doing the following steps. Let's skip the details for simplicity. So, the steps would be as follows:

  1. Design an architecture stack and decide on various libraries to use (let's say you choose Spring Framework for the backend, with Spring Security and Spring MVC)
  2. Create an application base with...

Goal and adoption of JHipster

The goal of JHipster is to provide developers a platform where you can focus on your business logic rather than worrying about wiring different technologies together, and also that provides a great developer experience. Of course, you can use available boilerplate within your organization or from the internet and try to wire them up together, but then you will be wasting a lot of time re-inventing the wheel. With JHipster, you will create a modern web application or microservice architecture with all the required technologies wired together and working out-of-the-box, such as the following:

  • A robust and high-performance Spring Framework-based Java stack on the backend
  • A rich mobile-first frontend with Angular or React supported by Bootstrap
  • A battle-tested microservice architecture unifying Netflix OSS, Elastic stack, and Docker
  • A great tooling and...

Introduction to technologies available

JHipster supports an incredible number of modern web application technologies out of the box. Some of them are used as the base or core of the generated application while some technologies are opt-in via choices made during application generation. Let us see the different technologies supported mainly for monolithic applications in brief:

  • Client-side technologies
  • Server-side technologies
  • Database options

There are many more technologies supported and we will look at them in later chapters when we touch upon microservices.

Client-side technologies

The role of client-side technologies in full-stack development has grown from just using JavaScript for client-side validations, to writing...

Installation and setup

To get started with JHipster, you will have to install the JHipster CLI tool. The JHipster CLI comes with commands required to use all of the features offered by the platform.

JHipster Online: If you would like to create an application without installing anything, you can do so by visiting https://start.jhipster.tech. You can authorize the application to generate a project directly in your GitHub account or you can download the source as a ZIP file.

Prerequisites

Before we install the JHipster CLI, let's take a look at the prerequisites. We will need to install some dependencies and configure our favorite IDE to work best with generated code. You can visit http://www.jhipster.tech/installation...

Summary

In this chapter, we discovered JHipster and the different technology options provided by it. We had a brief introduction of the important pieces of the client-side and server-side stack. We had a quick overview of Spring technologies, Angular, Bootstrap, and so on. We also had an overview of different database options supported by JHipster. We learned about the tools required to work with JHipster and we have successfully set up our environment to work with JHipster and installed JHipster CLI. In the next chapter, we will see how JHipster can be used to build a production-grade monolithic web application.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • • Leverage the full power of the JHipster platform to build complex web applications
  • • Create microservices from scratch and convert JHipster monolith apps into microservices
  • • Build and deploy applications locally, in Docker and on various cloud platforms.

Description

JHipster is a development platform to generate, develop, and deploy Spring Boot and Angular/React applications and Spring microservices. It provides you with a variety of tools that will help you quickly build modern web applications. This book will be your guide to building full stack applications with Spring and Angular using the JHipster tool set. You will begin by understanding what JHipster is and the various tools and technologies associated with it. You will learn the essentials of a full stack developer before getting hands-on and building a monolithic web application with JHipster. From here you will learn the JHipster Domain Language with entity modeling and entity creation using JDL and JDL studio. Moving on, you will be introduced to client side technologies such as Angular and Bootstrap and will delve into technologies such as Spring Security, Spring MVC, and Spring Data. You will learn to build and package apps for production with various deployment options such as Heroku and more. During the course of the book, you will be introduced to microservice server-side technologies and how to break your monolithic application with a database of your choice. Next, the book takes you through cloud deployment with microservices on Docker and Kubernetes. Going forward, you will learn to build your client side with React and master JHipster best practices. By the end of the book, you will be able to leverage the power of the best tools available to build modern web applications.

Who is this book for?

This book will appeal to developers who would like to build modern web applications quickly. A basic knowledge of the Spring ecosystem would be an added advantage.

What you will learn

  • • Build business logic by creating and developing entity models us the JHipster Domain Language
  • • Customize web applications with Angular, Bootstrap and Spring
  • • Tests and Continuous Integration with Jenkins
  • • Utilize the JHipster microservice stack, which includes Netflix Eureka, Spring Cloud config, HashiCorp Consul, and so on.
  • • Understand advanced microservice concepts such as API rout, load balancing, rate limit, circuit break, centralized configuration server, JWT authentication, and more
  • • Run microservices locally using Docker and Kubernetes (in production)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 23, 2018
Length: 380 pages
Edition : 1st
Language : English
ISBN-13 : 9781788476317
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. €18.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Mar 23, 2018
Length: 380 pages
Edition : 1st
Language : English
ISBN-13 : 9781788476317
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 110.97
Java EE 8 and Angular
€36.99
Full-Stack Web Development with Vue.js and Node
€36.99
Full Stack Development with JHipster
€36.99
Total 110.97 Stars icon

Table of Contents

15 Chapters
Introduction to Modern Web Application Development Chevron down icon Chevron up icon
Getting Started with JHipster Chevron down icon Chevron up icon
Building Monolithic Web Applications with JHipster Chevron down icon Chevron up icon
Entity Modeling with JHipster Domain Language Chevron down icon Chevron up icon
Customization and Further Development Chevron down icon Chevron up icon
Testing and Continuous Integration Chevron down icon Chevron up icon
Going into Production Chevron down icon Chevron up icon
Introduction to Microservice Server-Side Technologies Chevron down icon Chevron up icon
Building Microservices with JHipster Chevron down icon Chevron up icon
Working with Microservices Chevron down icon Chevron up icon
Deploying with Docker Compose Chevron down icon Chevron up icon
Deploying to the Cloud with Kubernetes Chevron down icon Chevron up icon
Using React for the Client-Side Chevron down icon Chevron up icon
Best Practices with JHipster Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5
(6 Ratings)
5 star 83.3%
4 star 0%
3 star 0%
2 star 16.7%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Jorge Agustin Castillo Ohrstrom Jun 16, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
El libro llego en excelentes condiciones, en un tiempo genial, antes de lo indicado.
Amazon Verified review Amazon
Karl Rendon Aug 10, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
IntroductionThe world has had microservices madness for quite a while now. If you were put into a time capsule in 2010, at the height of Java EE, and suddenly woke up in 2018, you would probably feel overwhelmed by how the software architecture landscape has changed.Everything nowadays is about microservice-style development and operations (DevOps — fun fact, the word was coined one year before you were placed in your capsule). Many mission-critical applications run "in the cloud" and bear no resemblance to the good old days of the monoliths and huge monsters you used to build. Now there are terms like containers, orchestration, and "Eventual Consistency." The world is a very different place indeed.Enter JHipster. It is a development platform. It is many things, among them a Yeoman Code Generator. It is a "way of thinking" that takes Spring Boot's motto of "convention over configuration." It is a wizard-style console set of tools that, once you provide answers to some basic questions, proceeds to generate the scaffolding of your application, ready for you to focus on what matters most: your secret sauce, your business logic, your data model.Even though JHipster is going to generate code for you, it doesn't force you into the world of microservices; you can start with a monolithic approach and then start slicing and dicing into a microservice if you so choose.If the last two paragraphs did not fully paint the picture as to what JHipster is or what it can do for you, that's why this book is needed. JHipster comes with the potential of saving you a lot of time; but like every fancy tool, it requires an understanding of what the tool is capable as well as having some basic concepts.Book ReviewThe two authors are leaders in the JHipster community. Deepu Sasidharan is a co-lead of JHipster, he was part of the initial team. Sendil Kumar is a core contributor and an open source enthusiast.The authors begin with an introduction to modern web application development, with a quick refresher of terms, such as frontend and backend then promptly moving to architectural patterns and empowering you to choose which pattern is best for your app. Believe it or not, the authors don't have an agenda. They are not monolith haters. As a matter of fact, the first part of the book is them explaining how JHipster can help you (expedite) your journey toward that pattern in your app.Right after, you're moved into a crash course of the different technologies available for you to choose to use on your web app; some names include Bootstrap, Angular, React, testing tools such as Karma. Then you move to the backend with Spring, Hibernate, etc. The idea here is mainly for you to have a very basic idea of what each technology (framework) means and is capable of doing.Then you move to the different database options, divided into SQL based and non-SQL. This is particularly useful for you if you have been confined to SQL only.After this, you're ready to get your hands dirty and start wielding the power of JHipster. Your first assignment is to create a monolithic application. You're guided through the wizard-style navigation of the JHipster console.JHipster Domain LanguageNow you're ready to start using some of the more powerful aspects of JHipster. Specifically, the JHipster Domain Language (JDL) is a powerful tool for generating and maintaining the code that represents your data model and the relationship between entities. The generator takes care of DTOs on the back and frontend. Then you step it up a notch with JDL studio, an online IDE that makes the process even easier.Testing, Continuous IntegrationNow is time to plug in your application into the world of Continuous Integration. You'll explore JHipster's ability to feed onto Jenkins and other tools alike.To the Cloud and BeyondNow it's time to start thinking on slicing that monolith of yours and transition onto a more distributed approach based on microservices. You start with Docker, the Docker hub. Then you learn that JHipster can also help you with the final stage of your cycle: deployment. It can help you deploy to AWS, Cloud Foundry, Heroku, etc.Lastly, you will get more into the weeds of running a microservice environment, you'll learn about how JHipster can help with orchestration, service discovery, health tracking. This part gets very detailed, which is good because the microservice landscape is wide. This is another tour de force in terms of the number of new technologies to which you'll be exposed. Don't worry you don't linger too long at each; the idea is just to have a broad picture of how the landscape looks. Then you can hone down particular spots of the landscape you want to explore.ConclusionThe tour ends with a section on best practices as well as next steps. Throughout your journey, the book remains relevant and its cadence is enjoyable. At the end you'll feel like you are caught up, at least to get started after your time capsule journey; all those years from 2010 to 2018. You're up to date, or at least have a very good pulse of how things changed.
Amazon Verified review Amazon
Scott Andrew Savage Aug 10, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
JHipster is a great set of tools to facilitate and speed up application development when working with Spring Boot, Angular, and various other technologies. It is supported by an active open-source community and has extensive and detailed documentation. While the documentation is a good place to start, this book takes it to the next level by presenting real-world issues, providing practical advice on development standards, and diving farther into every aspect of JHipster. It is also extremely easy to read and follow along. I often recommend it to various clients we work with as it helps new developers understand the concepts and be productive as soon as possible.
Amazon Verified review Amazon
Manoj Ramesh Joshi Oct 17, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great product...
Amazon Verified review Amazon
Sergio May 03, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Many technologies, well put together, I enjoyed it from start to end. Very useful, now it's time to apply and keep learning.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.