anchor.diff:  
   === Scaffolding JSF
   
  -JSF is the default Java EE user interface framework, and so, JBoss Forge has a great support for it. In fact, Forge can scaffold an entire CRUD web application very easily. The JSF generated application follows several patterns and best practices : usage of CDI conversation, extended persistence context, JSF converters and so on. If you don't believe it, just try it. 
  +JSF is the default Java EE user interface framework, and consequently JBoss Forge has a great support for it. In fact, Forge can scaffold an entire CRUD web application from JPA entities very easily, with only a single command. The JSF generated application follows several patterns and best practices: usage of CDI conversation scope, the extended persistence context, JSF converters and so on. If you don't believe it, just try it. 
   
   ==== CLI
   
  
positive.code: FRENCH
  --
  
  and click finish:
  
  image::using/new-enum-const.png[title="Creating a new Enum Constant"]
  
  Now, you need add this enum as field in book. After opening the Forge wizard (Ctrl + 4 or CMD + 4 on Mac) you should choose _JPA: New Field_ 
  and select the _Book_ as Target Entity, enter _language_ as Field name and select _org.cdbookstore.model.Language_ as Field Type:
  
  image:using/new-enum-jpa-field.png[title="Creating a new Enum field in Entity"]
  
  
negative.code: 
  ==== CLI
  
  Now that we have a few entities (`Book` and `Author`), it’s time to generate REST endpoints. Like for JSF, it is just a matter of executing one single command:
  
  [source, console]
  ----
  [model]$ rest-generate-endpoints-from-entities --targets org.cdbookstore.model.*
  ----
  
  This is the easiest command to generate the REST endpoints, but like most Forge commands, you can customize a few options if you want, such as package name and so on.
  
  While "holding" most files as the current resource, you may inspect them using ls. This also works on REST endpoints. So, if you `cd` `BookEndpoint.java` and execute the command `ls`, this is what you get :
  
  [source, console]
  ----
  