Java Reference
In-Depth Information
successfully.
***SUCCESS*** Installed [forge.spec.servlet]
successfully.
***SUCCESS*** Installed [forge.spec.jsf.api]
successfully.
***SUCCESS*** Installed [faces] successfully.
? Create scaffold in which sub-directory of
web-root? (e.g. http://localhost:8080/
forge-demo/DIR) [/] view
As you can see from the previous transcript, the scaffold command will need to
update the project packaging format (from jar to war ) and request a folder to use
for storing scaffolding data.
Now we will generate a CRUD ( create, read, update, and delete ) view of your en-
tities using the scaffold from-entity command:
scaffold from-entity
com.packtpub.as7development.appendix.model.*
--overwrite;
***INFO*** Using currently installed scaffold
[faces]
***SUCCESS*** Generated UI for
[com.packtpub.as7development.appendix.model.User]
Please verify if the user's ID type matches with the corresponding UserBean ID type
at the time of writing.
Building and deploying the application
Now it is time to build your application using the build command, which will compile
and package your application in a web application archive ( forge-demo.war ).
[forge-demo] forge-demo $ build
[INFO] Scanning for projects...
[INFO]
Search WWH ::




Custom Search