January 2020
Intermediate to advanced
428 pages
10h 34m
English
In Chapter 4, Entity Modeling with the JHipster Domain Language,
we learned how to define entities and relationships using JDL. Now, let's learn how to define applications.
In the following syntax, take note of the following:
JavaDocs can be added to entity declarations, while /** */ Java comments can be added to fields and relationship declarations. JDL-specific comments can only be added using the // syntax.
It is also possible to define numerical constants in JDL, for example, DEFAULT_MIN_LENGTH = 1.
The application declaration is created using the following syntax:
application { config { <option> <value> } [entities <entity names(comma seperated)>* ...Read now
Unlock full access