Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All 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
Arrow up icon
GO TO TOP
Full Stack Development with JHipster

You're reading from   Full Stack Development with JHipster Build modern web applications and microservices with Spring and Angular

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788476317
Length 380 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
 Sasidharan Sasidharan
Author Profile Icon Sasidharan
Sasidharan
 Nellaiyapen Nellaiyapen
Author Profile Icon Nellaiyapen
Nellaiyapen
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Title Page
Copyright and Credits
Dedication
Packt Upsell
Foreword
Contributors
Preface
1. Introduction to Modern Web Application Development FREE CHAPTER 2. Getting Started with JHipster 3. Building Monolithic Web Applications with JHipster 4. Entity Modeling with JHipster Domain Language 5. Customization and Further Development 6. Testing and Continuous Integration 7. Going into Production 8. Introduction to Microservice Server-Side Technologies 9. Building Microservices with JHipster 10. Working with Microservices 11. Deploying with Docker Compose 12. Deploying to the Cloud with Kubernetes 13. Using React for the Client-Side 14. Best Practices with JHipster 1. Other Books You May Enjoy Index

Introduction to JDL


JDL (http://www.jhipster.tech/jdl/) is used to create the domain model for a JHipster application. It provides a simple and user-friendly DSL to describe the entities and their relationships (for SQL databases only).

JDL is the recommended way to create entities for an application and can replace the entity generator provided by JHipster, which can be difficult to use when creating a lot of entities. The JDL is normally written in one or more files with a .jh extension.

Visit http://www.jhipster.tech/jdl/ for complete documentation on JDL.

Note

If you prefer to work with UML and UML modeling tools, then check out JHipster-UML (http://www.jhipster.tech/jhipster-uml/), a tool that can create entities from popular UML tools.

DSL grammar for JDL

Now, let's see the JDL grammar. At the time of writing, JDL supports generating complete entity models with relationships and options such as DTO, service layer, and so on. The grammar can be broken down into the following:

  • Entity declaration...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images