- To create, retrieve, update, delete virtual customer (CRUD) using:
JSF 2.3, primeface, spring context, spring jdbc, tomcat jdbc, mysql, glassfish 5.1.0.
- Import dumps file that you can find it in the repository.
- Edit all TODO comment except comment inside the following path:
webapp/libr
- Make sure you have JDK 1.8.
- By using maven deploy the project.
- Then Add Web Application : Exploded "war" file of project to the Artifacts, and make sure the project have one exploded war file.
- Add glassfish 5.1.0 to your Run/Debug configuration.
- Now Add war file to glassfish, in intellij you can do that from deployment tab.
- Mapping spring configuration classes, in intellij you can find it at project
structure/facets/spring/add
then add it all, also make sure there is no duplicates. - run it.
Please note that the maven will take few time to get the dependencies from central repository.