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
$27.98 $39.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5 (6 Ratings)
eBook Mar 2018 380 pages 1st Edition
eBook
$27.98 $39.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Sasidharan Profile Icon Nellaiyapen
Arrow right icon
$27.98 $39.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5 (6 Ratings)
eBook Mar 2018 380 pages 1st Edition
eBook
$27.98 $39.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$27.98 $39.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

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 : 9781788470186
Languages :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

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

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.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
$199.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
$279.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 $ 146.97
Java EE 8 and Angular
$48.99
Full-Stack Web Development with Vue.js and Node
$48.99
Full Stack Development with JHipster
$48.99
Total $ 146.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

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.